This commit is contained in:
2020-06-22 13:15:54 +00:00
parent 2e6f00e824
commit 69bd580865
2 changed files with 33 additions and 16 deletions

View File

@@ -4,14 +4,14 @@ PRIORITY - ALWAYS Lowest level stuff first, i.e. TODO at server, api route chang
=-=-=-=-
wtf: Not localized: Validation error Object did not pass validation Invalid operation [2030] - "LT:ErrorSecurityUserCapacity"
todo: when a listview is in place and logout and back in and return to the grid, the filter shows in the selection still as the last thing selected
but it doesn't filter until refresh
todo: if a post or put from the client receives the full record back then make sure not fetching it again redundantly see user form and widget form that seem to do this on submit
I think it's ok, but double check for both new post and put
todo: what is method "OPTIONS" in api calls all the time? I think it's CORS related but ... *every* time? weird
disable cache causing it?
todo: Administration - translation
translation page with translation settings

View File

@@ -842,21 +842,38 @@ function loadFormSettings(vm) {
}
}
//process TEMP form settings
if (formSettings.temp) {
if (formSettings.temp.page) {
vm.dataTablePagingOptions.page = formSettings.temp.page;
}
// //process TEMP form settings
// if (formSettings.temp!=null) {
// if (formSettings.temp.page) {
// vm.dataTablePagingOptions.page = formSettings.temp.page;
// }
//check for cached local copy of saved list view in use
if (vm.listViewId > 0) {
//0=no list view, -1=unsaved list view so any number greater than zero means there sb a cached local copy of a saved list view
if (formSettings.temp && formSettings.temp.cachedListView != null) {
vm.listView = formSettings.temp.cachedListView;
} else {
//fetch it and cache it
return fetchListView(vm, vm.listViewId);
}
// //check for cached local copy of saved list view in use
// if (vm.listViewId > 0) {
// //0=no list view, -1=unsaved list view so any number greater than zero means there sb a cached local copy of a saved list view
// if (formSettings.temp && formSettings.temp.cachedListView != null) {
// vm.listView = formSettings.temp.cachedListView;
// } else {
// //fetch it and cache it
// return fetchListView(vm, vm.listViewId);
// }
// }
// }
//process TEMP form settings
if (formSettings.temp && formSettings.temp.page) {
vm.dataTablePagingOptions.page = formSettings.temp.page;
}
//check for cached local copy of saved list view in use
if (vm.listViewId > 0) {
//0=no list view, -1=unsaved list view so any number greater than zero means there sb a cached local copy of a saved list view
if (formSettings.temp && formSettings.temp.cachedListView != null) {
vm.listView = formSettings.temp.cachedListView;
} else {
//fetch it and cache it
return fetchListView(vm, vm.listViewId);
}
}
}