From ba24f39a2cfa3d7b7f304a40458327068c7cfbf2 Mon Sep 17 00:00:00 2001 From: John Cardinal Date: Fri, 21 Feb 2020 00:57:25 +0000 Subject: [PATCH] --- ayanova/src/views/ay-data-list-view.vue | 24 +++--------------------- 1 file changed, 3 insertions(+), 21 deletions(-) diff --git a/ayanova/src/views/ay-data-list-view.vue b/ayanova/src/views/ay-data-list-view.vue index e5af9b2a..5ea6b366 100644 --- a/ayanova/src/views/ay-data-list-view.vue +++ b/ayanova/src/views/ay-data-list-view.vue @@ -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?