This commit is contained in:
2018-12-13 00:17:36 +00:00
parent 4060d8900f
commit a0e8192352
6 changed files with 325 additions and 45 deletions

View File

@@ -5,17 +5,12 @@ Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpYXQiOiIxNTQ0NTU5NzAwIiwiZXhwIjoi
## IMMEDIATE ITEMS
User - implement filter on usertype so we have at least one enum filter, also these filters are going to be used internally by a lot of code
to fill pick lists and such in the UI so they must support most things I would need to filter by inluding enums.
- No need for other enum filters just yet, add them as required so there's no YAGNI happening.
Widget and user picklist, modify to use filter and sort criteria, remove the startswith built in filter
- Fix up the old tests for picklists and replace with new test using filter ID
- Don't forget to test with no filter ID to ensure still works as normal (default picklist should sort by alpha, need extra default method for sql query)
User
- Create one filter and sort test that can be adapted for all other objects so we know each object has one basic test for it's filter and sort code
- Probably just filter by name and sort by active to be most universal
ENUM
- Need route to get enum values and lt by providing a lowercase name of the enum (used for building filter UI for enum types)
- Client needs to pick enum value adn display localized