feat(item_index): add producer basic filter
gitea/salix/pipeline/head This commit looks good Details

This commit is contained in:
Alex Moreno 2022-02-03 10:32:59 +01:00
parent 2428e2fc6f
commit 902714ba7d
2 changed files with 3 additions and 1 deletions

View File

@ -125,7 +125,7 @@
ng-model="::item.isActive">
</vn-check>
</td>
<td>{{::item.producer}}</td>
<td>{{::item.producer | dashIfEmpty}}</td>
<td shrink-date>{{::item.landed | date:'dd/MM/yyyy'}}</td>
<td>
<vn-horizontal class="buttons">

View File

@ -81,6 +81,8 @@ class Controller extends Section {
return {'intr.description': value};
case 'name':
return {'i.name': {like: `%${value}%`}};
case 'producer':
return {'pr.name': {like: `%${value}%`}};
case 'id':
case 'size':
case 'subname':