Skip to content

Commit

Permalink
Merge pull request #31883 from frappe/mergify/bp/version-14-hotfix/pr…
Browse files Browse the repository at this point in the history
…-31875

fix(projects): Add missing comma (backport #31875)
  • Loading branch information
deepeshgarg007 authored Aug 18, 2022
2 parents 3c8412e + 623f56a commit 6b71af9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion erpnext/projects/doctype/project/project.py
Original file line number Diff line number Diff line change
Expand Up @@ -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(
Expand Down

0 comments on commit 6b71af9

Please sign in to comment.