This commit is contained in:
@@ -415,27 +415,9 @@ export default {
|
||||
this.obj.splice(newIndex, 0, this.obj.splice(index, 1)[0]);
|
||||
},
|
||||
addFilterCondition(item) {
|
||||
//push tempFilter item into item.filter.items array
|
||||
// tempFilterOperator: null
|
||||
//tempFilterToken: "*yesterday*"
|
||||
//tempFilterValue: null
|
||||
/*
|
||||
FilterItem.fld = "widgetstartdate";
|
||||
FilterItem.op = Util.OpEquality;
|
||||
FilterItem.value = TokenYesterday;
|
||||
|
||||
Dates have special values in tempFilterToken that must be handled specially
|
||||
if Date tempfiltertoken is *select* then no special value token is in use like YESTERDAY
|
||||
|
||||
|
||||
ONLY OTHER POSSIBLE TOKEN:
|
||||
every type can have in the tempfilterOperator two choices *NOVALUE* or *HASVALUE*,
|
||||
otherwise it's a straight up filter operator
|
||||
|
||||
In all other cases than above tempfilterOperator is relevant and tempFilterValue is relevant
|
||||
TODO: sample fragment of each kind as are done I guess
|
||||
TODO: DataTAble needs to pre-process filter to substitute tokens on the fly before sending to the server
|
||||
*/
|
||||
TODO: Need to also set a filter item DISPLAY property
|
||||
//so that can display localized for user in the list and then
|
||||
//change the list to use the DISPLAY property instead
|
||||
var filterItem = { op: null, value: null };
|
||||
var filterItemSet = false;
|
||||
//DATE relative token?
|
||||
|
||||
Reference in New Issue
Block a user