Sha256: c47c580b0984ebe9874957c83b8de05a925c00bfd4f77c5e97ca8d0cbd57012f

Contents?: true

Size: 2 KB

Versions: 36

Compression:

Stored size: 2 KB

Contents

AdminData = AdminData || {};

AdminData.mappings =  {

      //JSLint complains if a hash has key named boolean. So I am changing the key to booleant  
      booleant: {
        options: [  
          ["is null",     "is_null"], 
          ["is not null", "is_not_null"], 
          ["is true",     "is_true"], 
          ["is false",    "is_false"]
        ]
      },

      string: {
        options: [  
          ["is null",         "is_null"], 
          ["is not null",     "is_not_null"], 
          ["contains",        "contains"], 
          ["is exactly",      "is_exactly"], 
          ["doesn't contain", "does_not_contain"]
        ]
      },

      text: {
        options: [  
          ["is null",         "is_null"], 
          ["is not null",     "is_not_null"], 
          ["Contains",        "contains"], 
          ["Doesn't Contain", "does_not_contain"]
        ]
      },

      datetime: {
        options: [  
          ["is null",       "is_null"], 
          ["is not null",   "is_not_null"],
          ['on',            "is_on"], 
          ['on or before',  "is_on_or_before_date"], 
          ['on or after',   "is_on_or_after_date"]
        ]
      },

      date: {
        options: [  
          ["is null",       "is_null"], 
          ["is not null",   "is_not_null"],
          ['on',            "is_on"], 
          ['on or before',  "is_on_or_before_date"], 
          ['on or after',   "is_on_or_after_date"]
        ]
      },

      time: {
        options: [  
          ["is null",       "is_null"], 
          ["is not null",   "is_not_null"],
          ["is exactly",    "is_exactly"]
        ]
      },

      decimal: {
        options: [  
          ['is equal to',     "is_equal_to"], 
          ['is less than',    "less_than"], 
          ['is greater than', "greater_than"]
        ]
      },

      integer: {
        options: [  
          ['is equal to',     "is_equal_to"], 
          ['is less than',    "less_than"], 
          ['is greater than', "greater_than"]
        ]
      }
};


Version data entries

36 entries across 36 versions & 2 rubygems

Version Path
admin_data-1.0.15 lib/js/advance_search/advance_search_structure.js
admin_data-1.0.14 lib/js/advance_search/advance_search_structure.js
admin_data-1.0.13 lib/js/advance_search/advance_search_structure.js
admin_data-1.0.12 lib/js/advance_search/advance_search_structure.js
admin_data-1.0.11 lib/js/advance_search/advance_search_structure.js
admin_data-1.0.10 lib/js/advance_search/advance_search_structure.js
admin_data-1.0.9 lib/js/advance_search/advance_search_structure.js
admin_data-1.0.8 lib/js/advance_search/advance_search_structure.js
admin_data-1.0.7 lib/js/advance_search/advance_search_structure.js
admin_data-1.0.6 lib/js/advance_search/advance_search_structure.js
admin_data-1.0.5 lib/js/advance_search/advance_search_structure.js
admin_data-1.0.4 lib/js/advance_search/advance_search_structure.js
admin_data-1.0.3 lib/js/advance_search/advance_search_structure.js
admin_data-1.0.2 lib/js/advance_search/advance_search_structure.js
admin_data-1.0.1 lib/js/advance_search/advance_search_structure.js
admin_data-1.0.0 lib/js/advance_search/advance_search_structure.js