This commit is contained in:
@@ -44,7 +44,7 @@ CURRENT TODOs
|
|||||||
|
|
||||||
@@@@@@@@@@@ ROADMAP STAGE 1 and 2:
|
@@@@@@@@@@@ ROADMAP STAGE 1 and 2:
|
||||||
|
|
||||||
todo: order by not working?
|
|
||||||
|
|
||||||
todo: when making change to listview filter for saved datalistview and then returning to datatable it's *not* using the latest changes
|
todo: when making change to listview filter for saved datalistview and then returning to datatable it's *not* using the latest changes
|
||||||
- This is if I SAVE it after editing it in the listview editor
|
- This is if I SAVE it after editing it in the listview editor
|
||||||
|
|||||||
@@ -751,16 +751,6 @@ async function fetchEnums(columnData) {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
// /////////////////////////////////
|
|
||||||
// //
|
|
||||||
// //
|
|
||||||
// function initForm(vm) {
|
|
||||||
// return populatePickLists(vm);
|
|
||||||
// // //rehydrate last form settings
|
|
||||||
// // loadFormSettings(vm);
|
|
||||||
// // vm.loading = false;
|
|
||||||
// // vm.getDataFromApi();
|
|
||||||
// }
|
|
||||||
|
|
||||||
/////////////////////////////////
|
/////////////////////////////////
|
||||||
//
|
//
|
||||||
@@ -914,7 +904,7 @@ function loadFormSettings(vm) {
|
|||||||
function untokenizeListView(lvJson) {
|
function untokenizeListView(lvJson) {
|
||||||
//if it has one or more tokens
|
//if it has one or more tokens
|
||||||
//iterate the array and build a new array with substituted tokens with the correct date and time in them
|
//iterate the array and build a new array with substituted tokens with the correct date and time in them
|
||||||
console.log(lvJson);
|
//console.log(lvJson);
|
||||||
|
|
||||||
//format of a date token filter
|
//format of a date token filter
|
||||||
//[{"fld":"widgetname"},{"fld":"widgetstartdate","filter":{"items":[{"op":"=","value":"*past90days*","token":true}]}},{"fld":"widgetenddate"}]
|
//[{"fld":"widgetname"},{"fld":"widgetstartdate","filter":{"items":[{"op":"=","value":"*past90days*","token":true}]}},{"fld":"widgetenddate"}]
|
||||||
@@ -926,7 +916,7 @@ function untokenizeListView(lvJson) {
|
|||||||
return lvJson;
|
return lvJson;
|
||||||
}
|
}
|
||||||
|
|
||||||
console.log("WE HAVE TOKENS...PROCESSING...");
|
// console.log("WE HAVE TOKENS...PROCESSING...");
|
||||||
//we have one or more tokens, substitute them in the filter array
|
//we have one or more tokens, substitute them in the filter array
|
||||||
var ret = [];
|
var ret = [];
|
||||||
var lv = JSON.parse(lvJson);
|
var lv = JSON.parse(lvJson);
|
||||||
@@ -994,8 +984,8 @@ function untokenizeListView(lvJson) {
|
|||||||
ret.push(reto);
|
ret.push(reto);
|
||||||
//end of iterate lv loop
|
//end of iterate lv loop
|
||||||
}
|
}
|
||||||
console.log("After processing:");
|
// console.log("After processing:");
|
||||||
console.log(JSON.stringify(ret));
|
// console.log(JSON.stringify(ret));
|
||||||
return JSON.stringify(ret);
|
return JSON.stringify(ret);
|
||||||
} //[{"fld":"widgetname"},{"fld":"widgetstartdate","filter":{"items":[{"op":"=","value":"*past90days*","token":true}]}},{"fld":"widgetenddate"}]
|
} //[{"fld":"widgetname"},{"fld":"widgetstartdate","filter":{"items":[{"op":"=","value":"*past90days*","token":true}]}},{"fld":"widgetenddate"}]
|
||||||
</script>
|
</script>
|
||||||
|
|||||||
Reference in New Issue
Block a user