effective_datatables 1.6.2 → 1.6.3

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: 88e0b20c35ec7d611e74460922f6e6beaf42c828
4
- data.tar.gz: 72142e8259134d643655e590bc6b13a89f711bf9
3
+ metadata.gz: e1db6bf2a4ba2d3d3df1026b1056c2166716f23c
4
+ data.tar.gz: 1d4e5805b1838a304b872beab0851a74b45ffced
5
5
  SHA512:
6
- metadata.gz: 7a6ca85bdca5015cab46fb3e8984337f2fad10ae9a4220eb428e88ae0cba4444bf4249478586a81221dd93a6c8acefc1f217ada57ed4c929ad92cf9c0c497f8f
7
- data.tar.gz: decd8cdf6957263874105bedf6b4c2ddb569b42487370a580562659d15e13e4b26543b7411f56ec702e740998a65c9cd607771877085c0a8b6042751a90c4066
6
+ metadata.gz: 8e2cfe3cfcf3a00e8cfda701e57211bbdcf90ffa20a99eb599c8b7b7407bcf293eda5ada701945e27127d631c40f3c1e0db8f4b956e46840ec66d2e07ed35f1f
7
+ data.tar.gz: e2f0247480ad1cfdedab156355d8768178941fe204fb632a916bf8fed3fc3cea1e6d98448dfa0ca24a4201b8bd409fb1d1a086a7ad010eb6373260038707ed43
@@ -63,7 +63,7 @@ module Effective
63
63
  private
64
64
 
65
65
  def display_index(column)
66
- (display_table_columns || table_columns).keys.index(column[:name])
66
+ display_table_columns.present? ? display_table_columns.keys.index(column[:name]) : column[:array_index]
67
67
  end
68
68
 
69
69
  end
@@ -1,3 +1,3 @@
1
1
  module EffectiveDatatables
2
- VERSION = '1.6.2'.freeze
2
+ VERSION = '1.6.3'.freeze
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: effective_datatables
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.6.2
4
+ version: 1.6.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Code and Effect