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
the_jobbook_admin_data-1.3.0a app/assets/javascripts/advance_search/advance_search_structure.js
admin_data-1.2.1 app/assets/javascripts/advance_search/advance_search_structure.js
admin_data-1.2.0 app/assets/javascripts/advance_search/advance_search_structure.js
admin_data-1.1.16 app/assets/javascripts/advance_search/advance_search_structure.js
admin_data-1.1.15 app/assets/javascripts/advance_search/advance_search_structure.js
admin_data-1.1.14 lib/public/javascripts/advance_search/advance_search_structure.js
admin_data-1.1.13 lib/public/javascripts/advance_search/advance_search_structure.js
admin_data-1.1.12 lib/public/javascripts/advance_search/advance_search_structure.js
admin_data-1.1.11 lib/public/javascripts/advance_search/advance_search_structure.js
admin_data-1.1.10 lib/public/javascripts/advance_search/advance_search_structure.js
admin_data-1.1.9 lib/public/javascripts/advance_search/advance_search_structure.js
admin_data-1.1.8 lib/public/javascripts/advance_search/advance_search_structure.js
admin_data-1.1.7 lib/public/javascripts/advance_search/advance_search_structure.js
admin_data-1.1.3 lib/public/javascripts/advance_search/advance_search_structure.js
admin_data-1.0.22 lib/js/advance_search/advance_search_structure.js
admin_data-1.0.21 lib/js/advance_search/advance_search_structure.js
admin_data-1.0.19 lib/js/advance_search/advance_search_structure.js
admin_data-1.0.18 lib/js/advance_search/advance_search_structure.js
admin_data-1.0.17 lib/js/advance_search/advance_search_structure.js
admin_data-1.0.16 lib/js/advance_search/advance_search_structure.js