This commit is contained in:
parent
5e69fc0aa5
commit
6daabed202
|
@ -38,11 +38,6 @@ module.exports = Self => {
|
|||
type: 'Integer',
|
||||
description: 'Type id',
|
||||
http: {source: 'query'}
|
||||
}, {
|
||||
arg: 'hasVisible',
|
||||
type: 'Boolean',
|
||||
description: 'Whether the the item has visible or not',
|
||||
http: {source: 'query'}
|
||||
}, {
|
||||
arg: 'isActive',
|
||||
type: 'Boolean',
|
||||
|
|
|
@ -38,9 +38,6 @@ class Controller {
|
|||
}
|
||||
|
||||
onSearch(params) {
|
||||
if (params && params.hasVisible === undefined && params.isActive === undefined)
|
||||
Object.assign(params, {hasVisible: true, isActive: true});
|
||||
|
||||
if (params)
|
||||
this.$.model.applyFilter(null, params);
|
||||
else
|
||||
|
|
Loading…
Reference in New Issue