]> git.evergreen-ils.org Git - Evergreen.git/blob - Open-ILS/web/reports/xul/operators.js
LP1642337: Reporter Boolean Filters
[Evergreen.git] / Open-ILS / web / reports / xul / operators.js
1 dojo.requireLocalization("openils.reports", "reports");
2
3 var rpt_strings = dojo.i18n.getLocalization("openils.reports", "reports");
4
5 var OILS_RPT_FILTERS = {
6         '=' : {
7                 label : rpt_strings.OPERATORS_EQUALS
8         },
9
10         'like' : {
11                 label : rpt_strings.OPERATORS_LIKE
12         }, 
13
14         ilike : {
15                 label : rpt_strings.OPERATORS_ILIKE
16         },
17
18         '>' : {
19                 label : rpt_strings.OPERATORS_GREATER_THAN,
20                 labels : { timestamp : rpt_strings.OPERATORS_GT_TIME }
21         },
22
23         '>=' : {
24                 label : rpt_strings.OPERATORS_GT_EQUAL,
25                 labels : { timestamp : rpt_strings.OPERATORS_GTE_TIME }
26         }, 
27
28
29         '<' : {
30                 label : rpt_strings.OPERATORS_LESS_THAN,
31                 labels : { timestamp : rpt_strings.OPERATORS_LT_TIME }
32         }, 
33
34         '<=' : {
35                 label : rpt_strings.OPERATORS_LT_EQUAL, 
36                 labels : { timestamp : rpt_strings.OPERATORS_LTE_TIME }
37         },
38
39         'in' : {
40                 label : rpt_strings.OPERATORS_IN_LIST
41         },
42
43         'not in' : {
44                 label : rpt_strings.OPERATORS_NOT_IN_LIST
45         },
46
47         'between' : {
48                 label : rpt_strings.OPERATORS_BETWEEN
49         },
50
51         'not between' : {
52                 label : rpt_strings.OPERATORS_NOT_BETWEEN
53         },
54
55         'is' : {
56                 label : rpt_strings.OPERATORS_IS_NULL
57         },
58
59         'is not' : {
60                 label : rpt_strings.OPERATORS_IS_NOT_NULL
61         },
62
63         'is blank' : {
64                 label : rpt_strings.OPERATORS_NULL_BLANK
65         },
66
67         'is not blank' : {
68                 label : rpt_strings.OPERATORS_NOT_NULL_BLANK
69         },
70
71         '= any' : {
72                 labels : { 'array' : rpt_strings.OPERATORS_EQ_ANY }
73         },
74
75         '<> any' : {
76                 labels : { 'array' : rpt_strings.OPERATORS_NE_ANY }
77         }
78 }
79