mirror of
https://github.com/frappe/erpnext.git
synced 2026-05-21 14:09:19 +00:00
fixes in website
This commit is contained in:
@@ -202,7 +202,7 @@ def get_outer_env():
|
|||||||
t['child_items'].append(d)
|
t['child_items'].append(d)
|
||||||
break
|
break
|
||||||
|
|
||||||
if top_items and ("products" in [d.url.split(".")[0] for d in top_items]):
|
if top_items and ("products" in [d.url.split(".")[0] for d in top_items if d.url]):
|
||||||
# product categories
|
# product categories
|
||||||
products = webnotes.conn.sql("""select t1.item_group as label,
|
products = webnotes.conn.sql("""select t1.item_group as label,
|
||||||
concat(t2.page_name, ".html") as url,
|
concat(t2.page_name, ".html") as url,
|
||||||
|
|||||||
Reference in New Issue
Block a user