effective_datatables 2.2.6 → 2.2.7

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: aea459ee5490961378b1a76519674d4080ee3aa3
4
- data.tar.gz: a73f3d034e29687a29e3a413c47f459377294d01
3
+ metadata.gz: 0710bf78c57ab8a2b9f0e99b8bb4f2c3c193d3f9
4
+ data.tar.gz: c6a97ad7b350129fe050923255e6e53dd6a0fa7e
5
5
  SHA512:
6
- metadata.gz: 3b5d3a53adb8bf6a1db2813b5beb373ff520c5f1587d6a7d8d13d38c51eabeccd16841b7237c303234615f98ffdf6746d664cc102983a7ab237e44f24dfe73ab
7
- data.tar.gz: 7bd45e882a271e120b0b33d289068f4609612c305560749accc0afa4ce712dfede37c82e0fccc7a5e2e3a54251a8983876d00f94d85ceb736f1b04daeff6dc8f
6
+ metadata.gz: 52f0f85593c9bc25ea64924b40b95a49615d6072d772da6ad741ee7a6df2441a3f114f4c9e7e25b42b7668dbafe97812cd13b672bea62a56720191eb828d1d6a
7
+ data.tar.gz: 8d6a00b52d2d3e9cb1e0f8583a34b4c91cfc23aaed580631faba0816c951e3464fe16ab19843a42c3e1f3c6d85cd585293d5cae2959182d51617f3478d6aa38d
@@ -63,6 +63,7 @@ module EffectiveDatatablesHelper
63
63
  form.input name, label: false, required: false, value: value,
64
64
  as: (defined?(EffectiveFormInputs) ? :effective_select : :select),
65
65
  collection: opts[:filter][:values],
66
+ selected: opts[:filter][:selected],
66
67
  multiple: opts[:filter][:multiple] == true,
67
68
  include_blank: (opts[:label] || name.titleize),
68
69
  input_html: { name: nil, value: value, autocomplete: 'off', data: {'column-name' => opts[:name], 'column-index' => opts[:index]} },
@@ -71,6 +72,7 @@ module EffectiveDatatablesHelper
71
72
  form.input name, label: false, required: false, value: value,
72
73
  as: (defined?(EffectiveFormInputs) ? :effective_select : :grouped_select),
73
74
  collection: opts[:filter][:values],
75
+ selected: opts[:filter][:selected],
74
76
  multiple: opts[:filter][:multiple] == true,
75
77
  include_blank: (opts[:label] || name.titleize),
76
78
  grouped: true,
@@ -1,3 +1,3 @@
1
1
  module EffectiveDatatables
2
- VERSION = '2.2.6'.freeze
2
+ VERSION = '2.2.7'.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.2.6
4
+ version: 2.2.7
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: 2015-12-17 00:00:00.000000000 Z
11
+ date: 2015-12-28 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rails