FIX: streams was returning users, fixed
This commit is contained in:
@@ -73,7 +73,7 @@ def search_results():
|
|||||||
""")
|
""")
|
||||||
|
|
||||||
for s in streams:
|
for s in streams:
|
||||||
key = s.get("username")
|
key = s.get("title")
|
||||||
score = rank_results(query.lower(), key.lower())
|
score = rank_results(query.lower(), key.lower())
|
||||||
s["score"] = score
|
s["score"] = score
|
||||||
if score < 2:
|
if score < 2:
|
||||||
|
|||||||
Reference in New Issue
Block a user