delete two filter fields
gitea/salix/pipeline/head This commit looks good Details

This commit is contained in:
Vicent Llopis 2022-03-28 09:28:01 +02:00
parent b8910e38ea
commit ad7bcd7cc2
2 changed files with 0 additions and 25 deletions

View File

@ -28,16 +28,6 @@ module.exports = Self => {
type: 'date',
description: 'The shipped from date filter'
},
{
arg: 'shippedTo',
type: 'date',
description: 'The shipped to date filter'
},
{
arg: 'landedFrom',
type: 'date',
description: 'The landed from date filter'
},
{
arg: 'landedTo',
type: 'date',
@ -101,10 +91,6 @@ module.exports = Self => {
return {'t.ref': {like: `%${value}%`}};
case 'shippedFrom':
return {'t.shipped': {gte: value}};
case 'shippedTo':
return {'t.shipped': {lte: value}};
case 'landedFrom':
return {'t.landed': {gte: value}};
case 'landedTo':
return {'t.landed': {lte: value}};
case 'continent':

View File

@ -47,17 +47,6 @@
ng-model="$ctrl.landedTo">
</vn-date-picker>
</vn-horizontal>
<vn-horizontal>
<vn-date-picker
vn-one
label="Shipped to"
ng-model="$ctrl.shippedTo">
</vn-date-picker>
<vn-date-picker
vn-one
label="Landed from"
ng-model="$ctrl.landedFrom">
</vn-date-picker>
</vn-horizontal>
<vn-horizontal>
<vn-autocomplete vn-one