mirror of
https://github.com/frappe/erpnext.git
synced 2026-09-02 16:13:22 +00:00
fix: Sub-Categpry Routing in Item Group Page Listing pills
- Use absolute route even 3-4 sub-category levels down - Remove scroll from category pills due to accessibility issues - Arrange sub-category pills alphabetically
This commit is contained in:
@@ -132,7 +132,8 @@ def get_child_groups_for_website(item_group_name, immediate=False, include_self=
|
||||
return frappe.get_all(
|
||||
"Item Group",
|
||||
filters=filters,
|
||||
fields=["name", "route"]
|
||||
fields=["name", "route"],
|
||||
order_by="name"
|
||||
)
|
||||
|
||||
def get_child_item_groups(item_group_name):
|
||||
|
||||
Reference in New Issue
Block a user