Skip to content

Commit

Permalink
refs openfoodfoundation#11973 - remove SKU from products column
Browse files Browse the repository at this point in the history
  • Loading branch information
zanetagebka committed Jul 15, 2024
1 parent a66fec0 commit 738f5e1
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions lib/open_food_network/column_preference_defaults.rb
Original file line number Diff line number Diff line change
Expand Up @@ -64,9 +64,8 @@ def products_index_columns
{
image: { name: I18n.t("admin.image"), visible: true },
producer: { name: I18n.t("admin.producer"), visible: true },
sku: { name: I18n.t("admin.sku"), visible: false },
name: { name: I18n.t("admin.name"), visible: true },
unit: { name: I18n.t("#{node}.unit"), visible: true },
name: { name: I18n.t("admin.name"), visible: true },
unit: { name: I18n.t("#{node}.unit"), visible: true },
price: { name: I18n.t("admin.price"), visible: true },
on_hand: { name: I18n.t("admin.on_hand"), visible: true },
on_demand: { name: I18n.t("admin.on_demand"), visible: true },
Expand All @@ -82,7 +81,6 @@ def products_v3_index_columns
{
image: { name: t(:image), visible: true },
name: { name: t(:name), visible: true },
sku: { name: t(:sku), visible: true },
unit: { name: t(:unit), visible: true },
unit_scale: { name: t(:unit_scale), visible: true },
price: { name: t(:price), visible: true },
Expand Down

0 comments on commit 738f5e1

Please sign in to comment.