Filter: add empty update handler and value method

This commit is contained in:
rolux 2014-02-16 07:06:30 +00:00
parent d00a552143
commit 3232762576

View file

@ -35,7 +35,12 @@ Ox.Filter = function(options, self) {
sortKeys: [],
viewKeys: []
})
.options(options || {});
.options(options || {})
.update({
query: function() {
// ...
}
});
// fixme: this should not happen, but some lists
// 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;
};