diff --git a/ayanova/devdocs/todo.txt b/ayanova/devdocs/todo.txt index 2af8ad15..6b32ea89 100644 --- a/ayanova/devdocs/todo.txt +++ b/ayanova/devdocs/todo.txt @@ -11,10 +11,6 @@ ## ROUGH SCHEDULE - testing cases - - After a fix now main grid titles are all showing as ??Parts etc, fuck is up with that?? - the fix for the edit form is fighting with the list form - - grid filter clicking on "delete" for whole filter should just save and close, right now it removes all filters but stays open and can't save so it's fucked - Edge case but if filter is added while on last page of results and the filter means only one page returns the grid still stays on last page so it appears as though the filter returned no results when in fact just on a non existant page number beyond the results pages returned. Possible fix is to reset to page zero if user adds a filter condition or alternatively check if the current page is non zero then check if the current page is beyond the number of pages and if so reset to zero page @@ -798,6 +794,7 @@ MID CENTURY MODERN TUNES - https://www.allmusic.com/album/ultra-lounge-vol-14-bo BUILD 132 CHANGES OF NOTE - major refactor and cleanup of all client end source code +- grid filter clicking on "delete" for whole filter now enables save button - case 3987 - case 3988 - case 3993 diff --git a/ayanova/src/components/data-table-filter-control.vue b/ayanova/src/components/data-table-filter-control.vue index f4786c02..edf9661c 100644 --- a/ayanova/src/components/data-table-filter-control.vue +++ b/ayanova/src/components/data-table-filter-control.vue @@ -550,6 +550,10 @@ export default { clearAllFilterConditions() { this.editItem.filter.items.splice(0, this.editItem.filter.items.length); this.editItem.filter.any = false; + window.$gz.form.setFormState({ + vm: this, + dirty: true + }); }, async open(tableColumnData) { this.tableColumnData = tableColumnData;