Commit 8987e342 authored by Romain Loth's avatar Romain Loth

fix hashtags autocomplete when it's triggered using the input's real name (hashtags and not tags)

parent 2ad5b885
...@@ -28,6 +28,7 @@ else: ...@@ -28,6 +28,7 @@ else:
FIELDS_FRONTEND_TO_SQL = { FIELDS_FRONTEND_TO_SQL = {
"keywords": {'col':"keywords.kwstr", "type": "LIKE_relation"}, "keywords": {'col':"keywords.kwstr", "type": "LIKE_relation"},
"tags": {'col':"hashtags.htstr", 'type': "LIKE_relation"}, "tags": {'col':"hashtags.htstr", 'type': "LIKE_relation"},
"hashtags": {'col':"hashtags.htstr", 'type': "LIKE_relation"},
"countries": {'col':"scholars.country", 'type': "EQ_relation"}, "countries": {'col':"scholars.country", 'type': "EQ_relation"},
"gender": {'col':"scholars.gender", 'type': "EQ_relation"}, "gender": {'col':"scholars.gender", 'type': "EQ_relation"},
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment