fix: dont use comma pattern for group by splitting
This commit is contained in:
parent
87b1e15a31
commit
f2ac5babe1
1 changed files with 1 additions and 2 deletions
|
|
@ -1108,8 +1108,7 @@ class Engine:
|
|||
frappe.throw(_("Group By must be a string"), TypeError)
|
||||
|
||||
parsed_fields = []
|
||||
parts = COMMA_PATTERN.split(group_by)
|
||||
for part in parts:
|
||||
for part in group_by.split(","):
|
||||
field_name = part.strip()
|
||||
if not field_name:
|
||||
continue
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue