This commit is contained in:
2020-03-04 16:13:35 +00:00
parent bc050e85fc
commit d6a065df27
2 changed files with 31 additions and 4 deletions

View File

@@ -914,10 +914,10 @@ function loadFormSettings(vm) {
function untokenizeListView(lv) {
//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(lv);
//console.log(lv);
//console.log(JSON.parse(lv));
console.log("test:thisweek");
console.log(relativeDatefilterCalculator.tokenToDates("*thisweek*"));
console.log("test:nextweek");
console.log(relativeDatefilterCalculator.tokenToDates("*nextweek*"));
//[{"fld":"widgetname"},{"fld":"widgetstartdate","filter":{"items":[{"op":"=","value":"*past90days*","token":true}]}},{"fld":"widgetenddate"}]
if (lv == null) {
return lv;