Commit 8c600a7b authored by lixiaofang's avatar lixiaofang

sheer_user_id

parent 5a294cfa
......@@ -279,7 +279,7 @@ def search_physical(query="", offset=0, size=10):
result_dicts = GroupUtils.get_search_pictorial_topic(query, offset, size)
group_ids_list = []
if len(result_dicts["hits"]) > 0:
group_ids_list = [item["_source"]["id"] for item in result_dict["hits"]]
group_ids_list = [item["_source"]["id"] for item in result_dicts["hits"]]
return {"search_topic_ids": group_ids_list}
except:
......
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