fix: return correct total_count
This commit is contained in:
parent
678f3e0236
commit
79c12bdb9c
@ -236,7 +236,7 @@ def get_list_data(
|
||||
"page_length_count": page_length_count,
|
||||
"is_default": is_default,
|
||||
"views": get_views(doctype),
|
||||
"total_count": frappe.client.get_count(doctype, filters=filters),
|
||||
"total_count": len(frappe.get_all(doctype, filters=filters)),
|
||||
"row_count": len(data),
|
||||
}
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user