This commit is contained in:
2018-12-12 16:10:02 +00:00
parent 880635c600
commit 7e0834d2fa
6 changed files with 80 additions and 21 deletions

View File

@@ -1,4 +1,4 @@
LIST / GRAPH FILTERING AND PAGING
LIST / GRAPH FILTERING SORTING AND PAGING
This all applies equally to a report or a list or a graph so all work basically the same but will refer only to "list" for simplicity:
@@ -60,19 +60,9 @@ NOTES ABOUT WHY I DID THE FILTEROPTIONS LIKE I DID:
--------------------------------------------------
SORTING
=-=-=-=-
LIST FILTERING TODO
- DONE test for fetching widget filter options (localized, so have two users test each for expected response)
- DONE test for excercising all of DataFilterController route including rights to non personal alternative owner etc
- DONE test for correctly validated Widget datafilter when saved or updated via datafiltercontroller (sanity check of the filter settings and options IFilterableObject implemented)
- DONE Add test for providing saved filter id to widgetlist and recieving correct filtered / paged / sorted results (test all those)
- Requires filter to sql code to be written and changes to the widgetlist route
Add TAGS test for providing saved filter id to widgetlist WITH TAGS specified and recieving correct filtered / paged / sorted results (test all those)
- Requires TAGS filter code to be written and changes to the widgetlist route
- Client side
- Implement filter editor dialog and test
Sorting is done same as filtering but property on datafilter is called Sort and it's also a json Array
Fields are: "fld" which is the same column name as in a datafilter and "dir" for direction which will contain a single character either a "-" or a "+" for descending and ascending respectively

View File

@@ -95,7 +95,7 @@ TODO SERVER
- rather than try to use local browser settings which is fraught with peril will need to be specified at server itself
- Wherever I am currently storing time zone that's where these other settings need to be
- TODO: Make sure private data filters get deleted with users who created them