& replaced by OR when multiple property filters are selected

This commit is contained in:
Masha
2019-05-05 12:13:56 +01:00
committed by luisramos0
parent b443f5ece9
commit 94cbac00a5

View File

@@ -50,7 +50,7 @@ Darkswarm.controller "ProductsCtrl", ($scope, $filter, $rootScope, Products, Ord
$scope.appliedPropertiesList = ->
$scope.activeProperties.map( (property_id) ->
Properties.properties_by_id[property_id].name
).join(" & ") if $scope.activeProperties?
).join(" OR ") if $scope.activeProperties?
$scope.clearAll = ->
$scope.query = ""