Fix count filter load
This commit is contained in:
parent
ca57680867
commit
32f8ae5c81
2 changed files with 3 additions and 1 deletions
|
|
@ -35,7 +35,8 @@ def get_list(doctype, fields=None, filters=None, order_by=None,
|
|||
|
||||
@frappe.whitelist()
|
||||
def get_count(doctype, filters=None, debug=False, cache=False):
|
||||
return frappe.db.count(doctype, filters, debug, cache)
|
||||
|
||||
return frappe.db.count(doctype, json.loads(filters), debug, cache)
|
||||
|
||||
@frappe.whitelist()
|
||||
def get(doctype, name=None, filters=None, parent=None):
|
||||
|
|
|
|||
|
|
@ -3,6 +3,7 @@
|
|||
}
|
||||
|
||||
.flex-column {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue