diff --git a/ayanova/devdocs/todo.txt b/ayanova/devdocs/todo.txt index ff176d22..a24b00af 100644 --- a/ayanova/devdocs/todo.txt +++ b/ayanova/devdocs/todo.txt @@ -5,8 +5,10 @@ MISC ITEMS THAT CAME UP -todo: ops notify event queue has no users set in display -todo: grid date filter, can't select EMPTY as one of the range choices, but it should be there, in fact should be there for any field + +todo: data list view date filter + can't select EMPTY as one of the range choices, but it should be there, in fact should be there for any field + "No Value", "HasValue" todo: datalists set default sort order as most appropriate in default list views already done for review and report todo: time picker no way to select NOW @@ -28,7 +30,8 @@ todo: grid list filter needs to have a single button to reset / clear to default todo: NEXT DEPLOY TO DEVOPS attach a photo from phone, no error just does nothing worked here locally latest build retest on server after next deploy - +todo: CustomerList filter *noVALUE* on business phone returns zero results even though it's got some missing business phones + maybe it's looking for null specifically at server and not just an empty string for text ones? todo: get rid of db warning from context setname code that is deprecated and keeps showing in log on boot todo: if the Name field could be in the page title then bookmarking a customer for example would show the customer name in the bookmark todo: dumb idea: have all date fields in grid display a color based on their relative age diff --git a/ayanova/src/api/relative-date-filter-calculator.js b/ayanova/src/api/relative-date-filter-calculator.js index 4c9b7d16..2971006d 100644 --- a/ayanova/src/api/relative-date-filter-calculator.js +++ b/ayanova/src/api/relative-date-filter-calculator.js @@ -604,7 +604,7 @@ export default { default: throw new Error( - "realtive-date-time-filter-calculater: Date token [" + + "relative-date-time-filter-calculater: Date token [" + token + "] was not recognized" ); diff --git a/ayanova/src/views/ay-data-list-view.vue b/ayanova/src/views/ay-data-list-view.vue index 42aef78b..24cf530b 100644 --- a/ayanova/src/views/ay-data-list-view.vue +++ b/ayanova/src/views/ay-data-list-view.vue @@ -605,10 +605,16 @@ export default { addFilterCondition(item) { let filterItem = { op: null, value: null, display: null }; let filterItemSet = false; + //DATE relative token? if (item.uiFieldDataType === 1) { //some kind of relative date token? - if (item.tempFilterToken && item.tempFilterToken != "*select*") { + if ( + item.tempFilterToken && + item.tempFilterToken != "*select*" && + item.tempFilterToken != "*NOVALUE*" && + item.tempFilterToken != "*HASVALUE*" + ) { //special relative token filterItem.op = "="; //equality filterItem.token = true; @@ -617,6 +623,7 @@ export default { } } + debugger; //BLANKS / NONBLANKS TOKENS? if (false == filterItemSet && item.tempFilterOperator == "*NOVALUE*") { filterItem.op = "="; @@ -1050,6 +1057,11 @@ function populateSelectionLists(vm) { vm.selectLists.dateFilterTokens.push( ...[ { name: "(" + vm.$ay.t("SelectItem") + ")", id: "*select*" }, //If select then use entry in date /time picker + { name: vm.$ay.t("GridRowFilterDropDownBlanksItem"), id: "*NOVALUE*" }, + { + name: vm.$ay.t("GridRowFilterDropDownNonBlanksItem"), + id: "*HASVALUE*" + }, { name: vm.$ay.t("DateRangeYesterday"), id: "*yesterday*" }, { name: vm.$ay.t("DateRangeToday"), id: "*today*" }, { name: vm.$ay.t("DateRangeTomorrow"), id: "*tomorrow*" }, diff --git a/ayanova/vue.config.js b/ayanova/vue.config.js index b2611286..bca27742 100644 --- a/ayanova/vue.config.js +++ b/ayanova/vue.config.js @@ -47,5 +47,5 @@ module.exports = { msTileImage: null } }, - productionSourceMap: false + productionSourceMap: true };