Browse Source

New procedure idx missing fix

master
venkataakhil 2 years ago
parent
commit
0698e9f4d5
  1. 2
      smart_service/apis/publish_api.py

2
smart_service/apis/publish_api.py

@ -208,7 +208,7 @@ def json_grouping(args, language):
# current_db_name, k['procedure_link']), as_dict=True)
proc_details = frappe.db.sql('''select procedure_name, step_name, content_type, content,
file,idx as display_order from {}.tabProcedure_Details
file,idx as display_order,idx from {}.tabProcedure_Details
where parent ='{}' order by idx asc; '''.format(current_db_name, k['procedure_link']), as_dict=True)
proc_data = get_parent_map(

Loading…
Cancel
Save