fix(projects): Add missing comma

Added with https://github.com/frappe/erpnext/pull/31360

(cherry picked from commit d38778e400)
This commit is contained in:
Aditya Hase
2022-08-17 18:21:43 +05:30
committed by Mergify
parent b637d4d5f1
commit 623f56a95c

View File

@@ -379,7 +379,7 @@ def get_users_for_project(doctype, txt, searchfield, start, page_len, filters):
{fcond} {mcond}
order by
(case when locate(%(_txt)s, name) > 0 then locate(%(_txt)s, name) else 99999 end),
(case when locate(%(_txt)s, full_name) > 0 then locate(%(_txt)s, full_name) else 99999 end)
(case when locate(%(_txt)s, full_name) > 0 then locate(%(_txt)s, full_name) else 99999 end),
idx desc,
name, full_name
limit %(page_len)s offset %(start)s""".format(