Fixed issue #821 - Can't select object with type date as filter for overviews.
This commit is contained in:
parent
5a63106958
commit
92fead6c09
1 changed files with 6 additions and 4 deletions
|
@ -18,8 +18,9 @@ class App.UiElement.ticket_selector
|
||||||
model: 'Organization'
|
model: 'Organization'
|
||||||
|
|
||||||
operators_type =
|
operators_type =
|
||||||
'^datetime$': ['before (absolute)', 'after (absolute)', 'before (relative)', 'within next (relative)', 'within last (relative)', 'after (relative)']
|
'^datetime$': ['before (absolute)', 'after (absolute)', 'before (relative)', 'after (relative)', 'within next (relative)', 'within last (relative)']
|
||||||
'^timestamp$': ['before (absolute)', 'after (absolute)', 'before (relative)', 'within next (relative)', 'within last (relative)', 'after (relative)']
|
'^timestamp$': ['before (absolute)', 'after (absolute)', 'before (relative)', 'after (relative)', 'within next (relative)', 'within last (relative)']
|
||||||
|
'^date$': ['before (absolute)', 'after (absolute)', 'before (relative)', 'after (relative)', 'within next (relative)', 'within last (relative)']
|
||||||
'boolean$': ['is', 'is not']
|
'boolean$': ['is', 'is not']
|
||||||
'^radio$': ['is', 'is not']
|
'^radio$': ['is', 'is not']
|
||||||
'^select$': ['is', 'is not']
|
'^select$': ['is', 'is not']
|
||||||
|
@ -28,8 +29,9 @@ class App.UiElement.ticket_selector
|
||||||
|
|
||||||
if attribute.hasChanged
|
if attribute.hasChanged
|
||||||
operators_type =
|
operators_type =
|
||||||
'^datetime$': ['before (absolute)', 'after (absolute)', 'before (relative)', 'within next (relative)', 'within last (relative)', 'after (relative)', 'has changed']
|
'^datetime$': ['before (absolute)', 'after (absolute)', 'before (relative)', 'after (relative)', 'within next (relative)', 'within last (relative)', 'has changed']
|
||||||
'^timestamp$': ['before (absolute)', 'after (absolute)', 'before (relative)', 'within next (relative)', 'within last (relative)', 'after (relative)', 'has changed']
|
'^timestamp$': ['before (absolute)', 'after (absolute)', 'before (relative)', 'after (relative)', 'within next (relative)', 'within last (relative)', 'has changed']
|
||||||
|
'^date$': ['before (absolute)', 'after (absolute)', 'before (relative)', 'after (relative)', 'within next (relative)', 'within last (relative)', 'has changed']
|
||||||
'boolean$': ['is', 'is not', 'has changed']
|
'boolean$': ['is', 'is not', 'has changed']
|
||||||
'^radio$': ['is', 'is not', 'has changed']
|
'^radio$': ['is', 'is not', 'has changed']
|
||||||
'^select$': ['is', 'is not', 'has changed']
|
'^select$': ['is', 'is not', 'has changed']
|
||||||
|
|
Loading…
Reference in a new issue