Commit 7c6b0b52 authored by 李小芳's avatar 李小芳

修改标签

parent be3010ef
......@@ -200,11 +200,9 @@ def get_questions(pks):
# tag
# tag_ids = list(
# filter(lambda t: str(t) in tag_dict, QuestionTag.objects.filter(question=q).values_list('tag', flat=True)))
res['tags'] = [tag_dict[str(tag_id)].get("tag_name") for tag_id in tag_ids]
res['tag_ids'] = tag_ids
res['closure_tag_ids'] = rpc['api/tag/closure_tags'](tag_ids=tag_ids) if tag_ids else []
fresh_tag_result = rpc["api/agile_tag/tuple_new_tags"](old_tag_ids=tag_ids)
fresh_tag_id_list = list()
fresh_tag_name_list = list()
......
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