This commit is contained in:
2018-11-29 18:37:43 +00:00
parent aca320c056
commit f74fa26d22

View File

@@ -25,16 +25,15 @@ Upon user selecting a filter to use the list query string has the regular paging
LIST FILTERING TODO
- Implement this with widget list first
- Add DataFilter table and models and route to save, edit
- Add listkey property to list??
- Add API route to widget list that returns the FILTEROPTIONS object as outlined above
- Just a dynamic object really, no need for objects to model it I don't think as it's a one way server to client thing and doesn't need parsing or anything
- Add a list route that accepts the current paging options and also a filter id
- A method that can take the list of field filter values and the field types and construct an sql query from it
- Tests for all of the above (particularly the query builder because that was a bitch with v7)
- Client side
- Implement filter editor dialog
Add test for fetching widget filter options (localized, so have two users test each for expected response)
Add test for excercising all of DataFilterController route including rights to non personal alternative owner etc
Add test for correctly validated Widget datafilter when saved or updated via datafiltercontroller (sanity check of the filter settings and options IFilterableObject implemented)
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
- Client side
- Implement filter editor dialog and test