Merge pull request #8756 from jibees/8075-take-into-account-the-inherits_properties-attribute

Product that don't inherits from "producer"/"enterprise" properties should be filtered out by user on shop page
This commit is contained in:
Filipe
2022-02-21 19:04:08 +00:00
committed by GitHub
6 changed files with 107 additions and 5 deletions

View File

@@ -67,7 +67,7 @@ angular.module('Darkswarm').controller "ProductsCtrl", ($scope, $sce, $filter, $
page: page || $scope.page,
per_page: $scope.per_page,
'q[name_or_meta_keywords_or_variants_display_as_or_variants_display_name_or_supplier_name_cont]': $scope.query,
'q[properties_id_or_supplier_properties_id_in_any][]': $scope.activeProperties,
'q[with_properties][]': $scope.activeProperties,
'q[primary_taxon_id_in_any][]': $scope.activeTaxons
}