This commit is contained in:
@@ -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
|
||||
|
||||
@@ -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"
|
||||
);
|
||||
|
||||
@@ -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*" },
|
||||
|
||||
@@ -47,5 +47,5 @@ module.exports = {
|
||||
msTileImage: null
|
||||
}
|
||||
},
|
||||
productionSourceMap: false
|
||||
productionSourceMap: true
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user