diff --git a/web_server/blueprints/search_bar.py b/web_server/blueprints/search_bar.py index b1a22df..d80d3e0 100644 --- a/web_server/blueprints/search_bar.py +++ b/web_server/blueprints/search_bar.py @@ -73,7 +73,7 @@ def search_results(): """) for s in streams: - key = s.get("username") + key = s.get("title") score = rank_results(query.lower(), key.lower()) s["score"] = score if score < 2: