Skip to content

Commit

Permalink
added name and description filtering to product
Browse files Browse the repository at this point in the history
  • Loading branch information
rubenvdlinde committed Jan 23, 2020
1 parent 6a12e6f commit d486fde
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion api/src/Entity/Product.php
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@
* )
* @ORM\Entity(repositoryClass="App\Repository\ProductRepository")
* @ApiFilter(OrderFilter::class, properties={"type","sku"})
* @ApiFilter(SearchFilter::class, properties={"sourceOgranization": "exact","groups.id": "exact","type": "exact","sku": "exact"})
* @ApiFilter(SearchFilter::class, properties={"sourceOgranization": "exact","groups.id": "exact","type": "exact","sku": "exact","name": "partial","description": "partial"})
*/
class Product
{
Expand Down

0 comments on commit d486fde

Please sign in to comment.