effective_datatables 4.21.0 → 4.22.0

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: 59425c0820bca218251c276ec9c7ea515e37ffefaa43b438b6d082e3fb9e0219
4
- data.tar.gz: 32c49b0c8806c7905f2474999d6debf93be35de1bc43aa11fa9cd415ddebe474
3
+ metadata.gz: 4a33a97ee30daef2c5466750809be932bf1c0ba222033bb5dc3d20d7220d61af
4
+ data.tar.gz: d99db3de67b666640e0b31e2295c8d10adba6a25a2978a8afcf466e1d43922ef
5
5
  SHA512:
6
- metadata.gz: ca83f8036759b78eeaab77dacbfea62723438e4c7678bcf7a3e2706f0512e587b83a3c923d97572d7b8eb61577aaa594af32e2890989ad0bebccd489637576d4
7
- data.tar.gz: 1deef20248ebefa1ee6351d39754f3cb94e4d9f5417ca9466b10fafa0557b810db10b05e11c285fe0dc699f8040425ad670e7c98ffef5f4e17e9bca77efa7826
6
+ metadata.gz: 66226678779ac1b782f1b854d9f3c53ec10a0d6cfd11c283e3babd46cb65c2d7e8afec99d176cbb55414be302fcf1f26d0977f66628ffbdcdc630e2ddd27ab9c
7
+ data.tar.gz: '093112a0dfa8d6c386b992cc0cab75899e4375b00f742e90bf1a05d940cc6dadd5b10c7d10e0fc7fee766e5228feb594d7ffb2a0de729cc913a4cbbb9c7ab303'
@@ -52,7 +52,7 @@ initializeDataTables = (target) ->
52
52
  displayStart: datatable.data('display-start')
53
53
  iDisplayLength: datatable.data('display-length')
54
54
  language: datatable.data('language')
55
- lengthMenu: [[5, 10, 25, 50, 100, 250, 500, 9999999], ['5', '10', '25', '50', '100', '250', '500', datatable.data('all-label')]]
55
+ lengthMenu: [[5, 10, 25, 50, 100, 250], ['5', '10', '25', '50', '100', '250']]
56
56
  order: datatable.data('display-order')
57
57
  processing: true
58
58
  responsive: true
@@ -17,7 +17,7 @@ module Effective
17
17
 
18
18
  # Apply jit_preloader if present
19
19
  if active_record_collection? && defined?(JitPreloader) && EffectiveDatatables.use_jit_preloader
20
- col.includes_values.reject! { true } # Removes any previously defined .includes()
20
+ col.includes_values = [] # Removes any previously defined .includes()
21
21
  col = col.jit_preload
22
22
  end
23
23
 
@@ -1,3 +1,3 @@
1
1
  module EffectiveDatatables
2
- VERSION = '4.21.0'.freeze
2
+ VERSION = '4.22.0'.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.21.0
4
+ version: 4.22.0
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: 2023-12-04 00:00:00.000000000 Z
11
+ date: 2024-01-02 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rails
@@ -196,7 +196,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
196
196
  - !ruby/object:Gem::Version
197
197
  version: '0'
198
198
  requirements: []
199
- rubygems_version: 3.3.7
199
+ rubygems_version: 3.4.10
200
200
  signing_key:
201
201
  specification_version: 4
202
202
  summary: Uniquely powerful server-side searching, sorting and filtering of any ActiveRecord