Commit 6d1656ef by dong

fix20230404

parent b9cab51a
......@@ -533,6 +533,7 @@ def consultation_list():
"consultation_time": cons_obj.consultation_time,
"reply_time": cons_obj.reply_time,
} for cons_obj in cons_obj_list]
data = sorted(data, key=lambda x: x['consultation_time'], reverse=True)
except Exception as e:
current_app.logger.error(e)
......
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