diff --git a/ayanova/devdocs/todo.txt b/ayanova/devdocs/todo.txt index d6cdfc12..0c4f8b44 100644 --- a/ayanova/devdocs/todo.txt +++ b/ayanova/devdocs/todo.txt @@ -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 diff --git a/ayanova/src/components/gz-data-table.vue b/ayanova/src/components/gz-data-table.vue index 5483ef48..afc02157 100644 --- a/ayanova/src/components/gz-data-table.vue +++ b/ayanova/src/components/gz-data-table.vue @@ -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); } } }