From df9ca2ad3eb70157734783b125cb382f46a78af1 Mon Sep 17 00:00:00 2001 From: jorgebl Date: Wed, 24 Feb 2021 12:24:50 +0100 Subject: [PATCH] Fixed filter description --- modules/item/back/methods/item/filter.js | 2 -- modules/item/front/index/index.html | 2 +- modules/item/front/index/index.js | 1 - 3 files changed, 1 insertion(+), 4 deletions(-) diff --git a/modules/item/back/methods/item/filter.js b/modules/item/back/methods/item/filter.js index c2ba547c1..000d9bb8e 100644 --- a/modules/item/back/methods/item/filter.js +++ b/modules/item/back/methods/item/filter.js @@ -84,8 +84,6 @@ module.exports = Self => { : {or: [{'i.name': {like: `%${value}%`}}, codeWhere]}; case 'id': return {'i.id': value}; - case 'description': - return {'i.description': {like: `%${value}%`}}; case 'category': return {'ic.name': value}; case 'salesPersonFk': diff --git a/modules/item/front/index/index.html b/modules/item/front/index/index.html index 0cf18bdb0..21227ad95 100644 --- a/modules/item/front/index/index.html +++ b/modules/item/front/index/index.html @@ -15,7 +15,7 @@ Id Grouping Packing - Description + Description Stems Size Niche diff --git a/modules/item/front/index/index.js b/modules/item/front/index/index.js index b9d626e50..8a510c3a1 100644 --- a/modules/item/front/index/index.js +++ b/modules/item/front/index/index.js @@ -30,7 +30,6 @@ class Controller extends Section { case 'intrastat': return {'intr.description': value}; case 'id': - case 'description': case 'size': case 'name': case 'subname':