delete two filter fields
gitea/salix/pipeline/head This commit looks good
Details
gitea/salix/pipeline/head This commit looks good
Details
This commit is contained in:
parent
b8910e38ea
commit
ad7bcd7cc2
|
@ -28,16 +28,6 @@ module.exports = Self => {
|
||||||
type: 'date',
|
type: 'date',
|
||||||
description: 'The shipped from date filter'
|
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',
|
arg: 'landedTo',
|
||||||
type: 'date',
|
type: 'date',
|
||||||
|
@ -101,10 +91,6 @@ module.exports = Self => {
|
||||||
return {'t.ref': {like: `%${value}%`}};
|
return {'t.ref': {like: `%${value}%`}};
|
||||||
case 'shippedFrom':
|
case 'shippedFrom':
|
||||||
return {'t.shipped': {gte: value}};
|
return {'t.shipped': {gte: value}};
|
||||||
case 'shippedTo':
|
|
||||||
return {'t.shipped': {lte: value}};
|
|
||||||
case 'landedFrom':
|
|
||||||
return {'t.landed': {gte: value}};
|
|
||||||
case 'landedTo':
|
case 'landedTo':
|
||||||
return {'t.landed': {lte: value}};
|
return {'t.landed': {lte: value}};
|
||||||
case 'continent':
|
case 'continent':
|
||||||
|
|
|
@ -47,17 +47,6 @@
|
||||||
ng-model="$ctrl.landedTo">
|
ng-model="$ctrl.landedTo">
|
||||||
</vn-date-picker>
|
</vn-date-picker>
|
||||||
</vn-horizontal>
|
</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-horizontal>
|
<vn-horizontal>
|
||||||
<vn-autocomplete vn-one
|
<vn-autocomplete vn-one
|
||||||
|
|
Loading…
Reference in New Issue