Commit c31da3e0 authored by 段英荣's avatar 段英荣

Merge branch 'hk_now' into 'master'

fix bug

See merge request alpha/physical!237
parents 0981e8a3 65de9157
......@@ -77,8 +77,8 @@ class CollectData(object):
if click_topic_tag_list:
recommend_topic_id_list_click = ESPerform.get_tag_topic_list(click_topic_tag_list,
have_read_topic_id_list)
if len(recommend_topic_id_list) > 0:
num = min(len(recommend_topic_id_list), 2)
if len(recommend_topic_id_list_click) > 0:
num = min(len(recommend_topic_id_list_click), 2)
recommend_topic_id_list.extend(recommend_topic_id_list_click[0:num])
tag_id_list = recommend_tag_list[0:100]
......
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