mirror of
https://github.com/Combodo/iTop.git
synced 2026-04-24 02:58:43 +02:00
search widget : widget numeric => default operator is now equals
because of the id field who will be almost the only numeric field, searching by id is the most common use case SVN:b1162[5566]
This commit is contained in:
@@ -10,18 +10,18 @@ $(function()
|
||||
options:
|
||||
{
|
||||
// Overload default operator
|
||||
'operator': 'between',
|
||||
'operator': '=',
|
||||
// Available operators
|
||||
'available_operators': {
|
||||
'between': {
|
||||
'label': Dict.S('UI:Search:Criteria:Operator:Numeric:Between'),
|
||||
'code': 'between',
|
||||
'rank': 0,
|
||||
},
|
||||
'=': {
|
||||
'label': Dict.S('UI:Search:Criteria:Operator:Numeric:Equals'),//pre-existing, label changed
|
||||
// 'dropdown_group':1,
|
||||
},
|
||||
'between': {
|
||||
'label': Dict.S('UI:Search:Criteria:Operator:Numeric:Between'),
|
||||
'code': 'between',
|
||||
'rank': 50,
|
||||
},
|
||||
'>': {
|
||||
'label': Dict.S('UI:Search:Criteria:Operator:Numeric:GreaterThan'),
|
||||
'code': 'greater_than',
|
||||
|
||||
Reference in New Issue
Block a user