summaryrefslogtreecommitdiff
path: root/src/services/products/index.ts
diff options
context:
space:
mode:
authoreug-vs <eug-vs@keemail.me>2021-04-17 19:56:30 +0300
committereug-vs <eug-vs@keemail.me>2021-04-17 19:56:30 +0300
commitc222bc06f9c123d3e2fa4a428d74032f54887485 (patch)
treee7c809251516442a773b7886020bec9914437662 /src/services/products/index.ts
parentf3d3471e697d6ebede4fa584c8671fb686028381 (diff)
downloadcommercel-ui-c222bc06f9c123d3e2fa4a428d74032f54887485.tar.gz
feat: add ServiceSearch
Diffstat (limited to 'src/services/products/index.ts')
-rw-r--r--src/services/products/index.ts1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/services/products/index.ts b/src/services/products/index.ts
index 8e09eb2..2e9a714 100644
--- a/src/services/products/index.ts
+++ b/src/services/products/index.ts
@@ -11,6 +11,7 @@ const service: ServiceParams<Product> = {
{ key: 'price', label: 'Цена' },
{ key: 'quantity', label: 'На складе' },
],
+ searchBy: ['name'],
default: {
name: '',
price: 0,