feat(item_index): add producer basic filter
gitea/salix/pipeline/head This commit looks good
Details
gitea/salix/pipeline/head This commit looks good
Details
This commit is contained in:
parent
2428e2fc6f
commit
902714ba7d
|
@ -125,7 +125,7 @@
|
||||||
ng-model="::item.isActive">
|
ng-model="::item.isActive">
|
||||||
</vn-check>
|
</vn-check>
|
||||||
</td>
|
</td>
|
||||||
<td>{{::item.producer}}</td>
|
<td>{{::item.producer | dashIfEmpty}}</td>
|
||||||
<td shrink-date>{{::item.landed | date:'dd/MM/yyyy'}}</td>
|
<td shrink-date>{{::item.landed | date:'dd/MM/yyyy'}}</td>
|
||||||
<td>
|
<td>
|
||||||
<vn-horizontal class="buttons">
|
<vn-horizontal class="buttons">
|
||||||
|
|
|
@ -81,6 +81,8 @@ class Controller extends Section {
|
||||||
return {'intr.description': value};
|
return {'intr.description': value};
|
||||||
case 'name':
|
case 'name':
|
||||||
return {'i.name': {like: `%${value}%`}};
|
return {'i.name': {like: `%${value}%`}};
|
||||||
|
case 'producer':
|
||||||
|
return {'pr.name': {like: `%${value}%`}};
|
||||||
case 'id':
|
case 'id':
|
||||||
case 'size':
|
case 'size':
|
||||||
case 'subname':
|
case 'subname':
|
||||||
|
|
Loading…
Reference in New Issue