This commit is contained in:
2020-03-11 23:32:28 +00:00
parent 5472119085
commit ca5b1c90cb
3 changed files with 516 additions and 5 deletions

View File

@@ -30,19 +30,19 @@ AUTOCOMPLETE
- Similar to DataListView but static, one for each type of object only
- has default view if not overriden that is generally good enough for anyone
- PickList Controller ROUTES
- GetList(AyaType, query)
- GET PickList/List(AyaType, query)
- Uses cached view (fetches into cache if not fetched to keep cache small)
- Use best practice caching for this so can extend to other things that need caching like BizRoles
- Based on cached view constructs a query with relevant columns only and containing search query in each column
- Also handles tags properly
- PutView(AyaType, viewJson)
- PUT PickList/Template (body AyaType, body viewJson)
- Update a view to use a new default
- updates cache when it updates db as well
- ResetView(AyaType)
- POST PickList/TemplateReset(AyaType)
- for ui, resets the view back to it's default
- GetView(AyaType)
- GET PickList/Template (AyaType)
- for ui picklistvieweditor to populate ui with current template (or default if not edited)
- GetViewList()
- GET PickList/TemplateList
- for ui picklistview editor to switch lists
- autocomplete / search involves all displayed template columns