fixed website route order_by
This commit is contained in:
parent
31bb3a97d7
commit
dd9319e364
1 changed files with 1 additions and 1 deletions
|
|
@ -83,7 +83,7 @@ def get_route_children(pathname, home_page=None):
|
|||
and t1.docname = t2.name
|
||||
order by {order_by}""".format(
|
||||
ref_doctype = children[0].ref_doctype,
|
||||
sort_by = module.order_by),
|
||||
order_by = module.order_by),
|
||||
pathname, as_dict=True)
|
||||
|
||||
children = [frappe.get_doc("Website Route", pathname)] + children
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue