Filter: add empty update handler and value method
This commit is contained in:
parent
d00a552143
commit
3232762576
1 changed files with 10 additions and 1 deletions
|
@ -35,7 +35,12 @@ Ox.Filter = function(options, self) {
|
||||||
sortKeys: [],
|
sortKeys: [],
|
||||||
viewKeys: []
|
viewKeys: []
|
||||||
})
|
})
|
||||||
.options(options || {});
|
.options(options || {})
|
||||||
|
.update({
|
||||||
|
query: function() {
|
||||||
|
// ...
|
||||||
|
}
|
||||||
|
});
|
||||||
|
|
||||||
// fixme: this should not happen, but some lists
|
// fixme: this should not happen, but some lists
|
||||||
// have their query set to {} or their query operator set to ''
|
// have their query set to {} or their query operator set to ''
|
||||||
|
@ -845,6 +850,10 @@ Ox.Filter = function(options, self) {
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
|
||||||
|
that.value = function() {
|
||||||
|
// ...
|
||||||
|
};
|
||||||
|
|
||||||
return that;
|
return that;
|
||||||
|
|
||||||
};
|
};
|
||||||
|
|
Loading…
Reference in a new issue