Skip to content

Commit

Permalink
fix(website): Remove references to Product Settings.products_a… (#18448)
Browse files Browse the repository at this point in the history
This was accidentally added back in 34c551d#diff-f0a387cdb305471e74e523ecc4e646ac
  • Loading branch information
adityahase authored and netchampfaris committed Jul 23, 2019
1 parent 7b76cdb commit 48d9cfe
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions erpnext/setup/doctype/item_group/item_group.py
Expand Up @@ -69,8 +69,7 @@ def get_context(self, context):
"items": get_product_list_for_group(product_group = self.name, start=start,
limit=context.page_length + 1, search=frappe.form_dict.get("search")),
"parents": get_parent_item_groups(self.parent_item_group),
"title": self.name,
"products_as_list": cint(frappe.db.get_single_value('Products Settings', 'products_as_list'))
"title": self.name
})

if self.slideshow:
Expand Down

0 comments on commit 48d9cfe

Please sign in to comment.