set default params for paging (#11500)
This commit is contained in:
parent
4a864c1eea
commit
99e31f97b8
@ -185,7 +185,7 @@ def item_query(doctype, txt, searchfield, start, page_len, filters, as_dict=Fals
|
|||||||
"page_len": page_len
|
"page_len": page_len
|
||||||
}, as_dict=as_dict)
|
}, as_dict=as_dict)
|
||||||
|
|
||||||
def bom(doctype, txt, searchfield, start, page_len, filters):
|
def bom(doctype, txt, searchfield, filters, start=0, page_len=20):
|
||||||
conditions = []
|
conditions = []
|
||||||
|
|
||||||
return frappe.db.sql("""select tabBOM.name, tabBOM.item
|
return frappe.db.sql("""select tabBOM.name, tabBOM.item
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user