effective_datatables 4.6.0 → 4.6.1

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
  SHA256:
3
- metadata.gz: 385e5a5e7a564d87fd196fb742016fc808d9b8cc3d5cf30f81487834f551447f
4
- data.tar.gz: b7a75e279d6f336e74e3ac55493dfe90ea6ad0871c69ed5b99d95e212fe05886
3
+ metadata.gz: b4dd9ebeda54bb8de42fda54ea734b9e3aba1e64a9f85e58b076777452fef026
4
+ data.tar.gz: 0f7d2569afa8cfcd721989091f9c0e66407ab4e91646d8a96f82f946d1a99eda
5
5
  SHA512:
6
- metadata.gz: 313535daf8e5d36b5f1c64fbfffda223e24aab71ed1ee1a02178d96586a91cc4f1d9eeca42b938fdc8b16199d6ce87ebf3ca8f98e9242df6d25178cc05e1384a
7
- data.tar.gz: 00b5f9d33026aabefeb8efbbc6f1711b830bb93eb27699fe970025bd03979cdc03ced3a4327706fd1ec7525fb2e50f60f04b3903da8f02766a75aa9fcd7468ee
6
+ metadata.gz: 8c559e30258f2da90bb7e4103b9d2012b41c717b2cb1dea298d8b868fc21ecc83d11c4a10c051264a78649a389c3a7b8855ae92048bdebb5f17107fb855f9b5e
7
+ data.tar.gz: fad25d14c3fc867d6eba6445bf604f8f8e5dd54476f46cc3c8fd1d8d37d905484421e2c477ae5eb8f47b4ea8c376d3b46b1a7b764e3b4b6312542761d65966ef
@@ -189,17 +189,16 @@ table.dataTable.hide-buttons {
189
189
 
190
190
  // Apply custom style to the inline x per page select
191
191
  span.select2-container {
192
- margin: 0px -3px 3px -3px;
192
+ margin: 0 1em;
193
193
  max-width: 6.0rem;
194
194
  min-width: 3.0rem;
195
195
 
196
- .select2-selection { border: none; }
197
196
  .select2-selection__rendered { padding: 0em; color: #909090; }
198
197
  }
199
198
 
200
199
  span.select2-container.select2-container--open { min-width: 3.0rem; max-width: 6.0rem; }
201
200
  span.select2-container.select2-container--focus { border: none; box-shadow: none; }
202
- span.select2-container--focus > .selection > .select2-selection { border: none !important; }
201
+ span.select2-selection.select2-selection--single:focus { outline: none; }
203
202
  }
204
203
  }
205
204
 
@@ -198,6 +198,7 @@ module Effective
198
198
  # When we parse an incoming filter term for this filter.
199
199
  def parse_filter_value(filter, value)
200
200
  return filter[:parse].call(value) if filter[:parse]
201
+ return nil if value.blank? && !filter[:required]
201
202
  Effective::Attribute.new(filter[:value]).parse(value, name: filter[:name])
202
203
  end
203
204
 
@@ -1,3 +1,3 @@
1
1
  module EffectiveDatatables
2
- VERSION = '4.6.0'.freeze
2
+ VERSION = '4.6.1'.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: 4.6.0
4
+ version: 4.6.1
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: 2019-05-17 00:00:00.000000000 Z
11
+ date: 2019-05-24 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rails