fix: use get_list for total_count also instead of get_all
This commit is contained in:
parent
71886cfc7f
commit
08d215bcc0
@ -238,7 +238,7 @@ def get_list_data(
|
|||||||
"page_length_count": page_length_count,
|
"page_length_count": page_length_count,
|
||||||
"is_default": is_default,
|
"is_default": is_default,
|
||||||
"views": get_views(doctype),
|
"views": get_views(doctype),
|
||||||
"total_count": len(frappe.get_all(doctype, filters=filters)),
|
"total_count": len(frappe.get_list(doctype, filters=filters)),
|
||||||
"row_count": len(data),
|
"row_count": len(data),
|
||||||
"form_script": get_form_script(doctype)
|
"form_script": get_form_script(doctype)
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user