This commit is contained in:
2018-12-03 20:17:59 +00:00
parent 59beefd3a4
commit ee5cfd16ff
3 changed files with 8 additions and 14 deletions

View File

@@ -25,11 +25,14 @@ Filters are saved to the database:
- Could be compound for joins like "table.name" (no a prepends the table name)
- Special indirect values such as "[TAGS]" which means cross filter with tags
- op=one of the values specified in the FilterComparisonOperator class in Biz namespace
- value= straight up direct comparison value
- value = string version of direct comparison value or could be a special token meaning more
- Never an empty string, empty string is invalid value
- All Tokens are a value surrounded by this fragment: "{[XXX]}" where XXX is the token
- if empty or null then will be a token "{[null]}"
- If string then a string fragment, case is sensitive
- If date then iso style date //RAVEN NOTE: it is my intention that dates come in iso8601 UTC format from the client
- could be whole number or decimal number
- Could be a special "macro" filter value like "[THIS_MONTH]" (always surrounded by square brackets, no need to disambiguate with a string because only applies to non string values)
- Could be a special "macro" filter value like "{[THIS_MONTH]}"
- Could be a series of id values like this "[23,45,56,123]" as in tag id's or something related to that case.
Upon user selecting a filter to use the list query string has the regular paging info but also the filter id as a query parameter