{
{{ t(category.name) }}
@@ -138,7 +151,12 @@ const getCategoryClass = (category, params) => {
emit-value
use-input
:disable="!selectedCategoryFk"
- @update:model-value="(value) => (selectedTypeFk = value)"
+ @update:model-value="
+ (value) => {
+ selectedTypeFk = value;
+ searchFn();
+ }
+ "
>
diff --git a/src/pages/Order/OrderCatalog.vue b/src/pages/Order/OrderCatalog.vue
index ec81c50f1..a257f7627 100644
--- a/src/pages/Order/OrderCatalog.vue
+++ b/src/pages/Order/OrderCatalog.vue
@@ -20,12 +20,6 @@ const catalogParams = {
orderBy: JSON.stringify({ field: 'relevancy DESC, name', way: 'ASC', isTag: false }),
};
-function exprBuilder(param, value) {
- switch (param) {
- case 'search':
- return { 'i.name': { like: `%${value}%` } };
- }
-}
@@ -35,8 +29,8 @@ function exprBuilder(param, value) {
url="Orders/CatalogFilter"
:limit="50"
:user-params="catalogParams"
- :expr-builder="exprBuilder"
:static-params="['orderFk', 'orderBy']"
+ :redirect="false"
/>