From d486fde1327f74a3aceb0f4ddb550556d9578751 Mon Sep 17 00:00:00 2001 From: Ruben van der Linde Date: Thu, 23 Jan 2020 16:23:13 +0100 Subject: [PATCH] added name and description filtering to product --- api/src/Entity/Product.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/api/src/Entity/Product.php b/api/src/Entity/Product.php index a2cb86fc..d3ef1414 100644 --- a/api/src/Entity/Product.php +++ b/api/src/Entity/Product.php @@ -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 {