Merge pull request #29471 from frappe/fix-sorting

This commit is contained in:
Suraj Shetty 2022-01-27 11:15:57 +05:30 committed by GitHub
commit 0cb965f223
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -85,7 +85,7 @@ def get_data(conditions, filters):
and so.docstatus = 1
{conditions}
GROUP BY soi.name
ORDER BY so.transaction_date ASC
ORDER BY so.transaction_date ASC, soi.item_code ASC
""".format(conditions=conditions), filters, as_dict=1)
return data