Skip to content

Commit

Permalink
Refs #81 - changes copied from master branch commit 2bfc8d
Browse files Browse the repository at this point in the history
  • Loading branch information
cbmarcum committed Oct 26, 2019
1 parent 42e6cc4 commit ac2a413
Showing 1 changed file with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -166,7 +166,7 @@ class ProductController {
}

if (params.category) {
must { keyword "productCategories.description", params.category }
must { keyword "productCategories.id", params.category }
}

if (SpringSecurityUtils.ifNotGranted('ROLE_ADMIN')) {
Expand Down Expand Up @@ -209,7 +209,7 @@ class ProductController {
}

if (params.category) {
must { keyword "productCategories.description", params.category }
must { keyword "productCategories.id", params.category }
}


Expand All @@ -234,7 +234,7 @@ class ProductController {
wildcard "number", "*"

if (params.category) {
must { keyword "productCategories.description", params.category }
must { keyword "productCategories.id", params.category }
}

if (SpringSecurityUtils.ifNotGranted('ROLE_ADMIN')) {
Expand All @@ -261,7 +261,7 @@ class ProductController {
wildcard "number", "*"

if (params.category) {
must { keyword "productCategories.description", params.category }
must { keyword "productCategories.id", params.category }
}

if (SpringSecurityUtils.ifNotGranted('ROLE_ADMIN')) {
Expand Down

0 comments on commit ac2a413

Please sign in to comment.