effective_datatables 2.4.5 → 2.4.6

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 6d159cc1ddb97f8595ea993ca8e538b412577cc3
4
- data.tar.gz: 0bb7015ca673162be2f4b9557a1e0f444ffa139a
3
+ metadata.gz: ac1937cf904292d69703161cb4421ff66e342a42
4
+ data.tar.gz: b42cb1580452e1a46800769f87ee3a2b107b5925
5
5
  SHA512:
6
- metadata.gz: 6c770a91c59e1801c4e02b2676e43c2063cdb82880d37620458c6bbaaaf531ecc050461900d38e045707828cac7c87a09d635aa0604b48b2134de256b7063377
7
- data.tar.gz: 1d93556e75ba8f1d90ff3fdd9bc8ad668c0623afc81f3331117526f66938f00f10e1bd5e178b8745a994dc2f048db6724c66e865f8164abd493d98c074dbfff8
6
+ metadata.gz: 68dcd1719dae5c4406160279e27b36b9d24acb2c2b2bcf353aec79fcfcd7f378d03b6ad02c45030580dea565c85aa9dfe26402f94ee74dfac3e384550d11b232
7
+ data.tar.gz: c7cf87f9d6232f53d10d14e3d543507773359ceca3945915a2f030738044470e5903e3c73cb48c1b1cf0a469001e06fe28c3612b6cdf475e248b79df7937f09b
data/README.md CHANGED
@@ -354,6 +354,8 @@ Some additional, lesser used options include:
354
354
  ```ruby
355
355
  :filter => {:fuzzy => true} # Will use an ILIKE/includes rather than = when filtering. Use this for selects.
356
356
  :filter => {sql_operation => :having} # Will use .having() instead of .where() to handle aggregate columns (autodetected)
357
+ :filter => {include_blank: false}
358
+ :filter => {placeholder: false}
357
359
  ```
358
360
 
359
361
  ### Rendering Options
@@ -137,7 +137,7 @@ initializeDataTables = ->
137
137
 
138
138
  # Apply EffectiveFormInputs to the Show x per page dropdown
139
139
  if datatable.data('effective-form-inputs')
140
- table.closest('.dataTables_wrapper').find('.dataTables_length select').select2()
140
+ try table.closest('.dataTables_wrapper').find('.dataTables_length select').select2()
141
141
 
142
142
  # Capture column visibility changes and refresh datatable
143
143
  datatable.on 'column-visibility.dt', (event, settings, index, state) ->
@@ -1,3 +1,3 @@
1
1
  module EffectiveDatatables
2
- VERSION = '2.4.5'.freeze
2
+ VERSION = '2.4.6'.freeze
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: effective_datatables
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.4.5
4
+ version: 2.4.6
5
5
  platform: ruby
6
6
  authors:
7
7
  - Code and Effect
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2016-06-08 00:00:00.000000000 Z
11
+ date: 2016-06-13 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rails