mirror of
https://github.com/frappe/erpnext.git
synced 2026-09-20 03:47:11 +00:00
Merge pull request #56898 from mihir-kandoi/pg-trends-empty-row-guard
fix(controllers): guard empty group-by detail row in trends
This commit is contained in:
@@ -203,6 +203,9 @@ def get_data(filters, conditions):
|
|||||||
as_list=1,
|
as_list=1,
|
||||||
)
|
)
|
||||||
|
|
||||||
|
if not row1:
|
||||||
|
continue
|
||||||
|
|
||||||
des[ind] = row[i][0]
|
des[ind] = row[i][0]
|
||||||
des[ind - 1] = row1[0][0]
|
des[ind - 1] = row1[0][0]
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user