Fixed filter description

This commit is contained in:
jorgebl 2021-02-24 12:24:50 +01:00
parent 69f53972d5
commit df9ca2ad3e
3 changed files with 1 additions and 4 deletions

View File

@ -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':

View File

@ -15,7 +15,7 @@
<vn-th field="id" shrink>Id</vn-th>
<vn-th field="grouping" shrink>Grouping</vn-th>
<vn-th field="packing" shrink>Packing</vn-th>
<vn-th field="description">Description</vn-th>
<vn-th field="name">Description</vn-th>
<vn-th field="stems" shrink>Stems</vn-th>
<vn-th field="size" shrink>Size</vn-th>
<vn-th field="niche" shrink>Niche</vn-th>

View File

@ -30,7 +30,6 @@ class Controller extends Section {
case 'intrastat':
return {'intr.description': value};
case 'id':
case 'description':
case 'size':
case 'name':
case 'subname':