diff --git a/app/views/shop/products/_summary.html.haml b/app/views/shop/products/_summary.html.haml index c48a40fde8..e8a229033e 100644 --- a/app/views/shop/products/_summary.html.haml +++ b/app/views/shop/products/_summary.html.haml @@ -3,7 +3,7 @@ %img{"bo-src" => "product.master.images[0].small_url"} .small-4.columns.summary-header - %object.taxon{"data" => "{{primary_taxon.icon}}", type: "image/svg+xml", + %object.taxon{"ng-attr-data" => "{{product.primary_taxon.icon}}", type: "image/svg+xml", "ng-click" => "ordering.order = 'primary_taxon.name'"} {{taxon.name}} = render partial: "modals/product"