This commit is contained in:
2018-11-29 16:15:13 +00:00
parent 0ba9b971ef
commit 6ed176201c
3 changed files with 61 additions and 1 deletions

View File

@@ -8,7 +8,8 @@ Two types of filters Named or Default:
User can save a filter with a name for later selection or it will always default to "Default" (localized) if not edited but will always require saving to server.
Generic "default" filter is always personal, not public / shared
Named filters can be made public or personal. If public then all users with rights to that object can see them, personal are always only personal.
Filter is constructed from an FILTEROPTIONS object fetched from the server list route that has a list type name which is unique to that list route and also lists all the fields filterable, their type and the locale key to display it
Filter is constructed from an FILTEROPTIONS object fetched from the server list route that has a list type name which is unique to that list route
and also lists all the fields filterable, their type and the locale key to display it
- e.g.: {list:"widget",fields:[{fld:"name",lt:"WidgetName",type:"text"},{fld:"dollarAmount",lt:"WidgetDollarAmount",type:"currency"}]}
Certain types have extended abilities, for example dates have the classic floating AyaNova date ranges pre-defined or specific dates
Filters are saved to the database: