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:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: ac1937cf904292d69703161cb4421ff66e342a42
|
4
|
+
data.tar.gz: b42cb1580452e1a46800769f87ee3a2b107b5925
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
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) ->
|
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.
|
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-
|
11
|
+
date: 2016-06-13 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rails
|