all apparently working and cleaned up
This commit is contained in:
@@ -904,7 +904,6 @@ function loadFormSettings(vm) {
|
||||
function untokenizeListView(lvJson) {
|
||||
//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
|
||||
//console.log(lvJson);
|
||||
|
||||
//format of a date token filter
|
||||
//[{"fld":"widgetname"},{"fld":"widgetstartdate","filter":{"items":[{"op":"=","value":"*past90days*","token":true}]}},{"fld":"widgetenddate"}]
|
||||
@@ -916,7 +915,6 @@ function untokenizeListView(lvJson) {
|
||||
return lvJson;
|
||||
}
|
||||
|
||||
// console.log("WE HAVE TOKENS...PROCESSING...");
|
||||
//we have one or more tokens, substitute them in the filter array
|
||||
let ret = [];
|
||||
let lv = JSON.parse(lvJson);
|
||||
@@ -984,8 +982,7 @@ function untokenizeListView(lvJson) {
|
||||
ret.push(reto);
|
||||
//end of iterate lv loop
|
||||
}
|
||||
// console.log("After processing:");
|
||||
// console.log(JSON.stringify(ret));
|
||||
|
||||
return JSON.stringify(ret);
|
||||
} //[{"fld":"widgetname"},{"fld":"widgetstartdate","filter":{"items":[{"op":"=","value":"*past90days*","token":true}]}},{"fld":"widgetenddate"}]
|
||||
</script>
|
||||
|
||||
Reference in New Issue
Block a user