effective_datatables 4.13.1 → 4.13.2

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: d9144f742099923e8f4029b91ec95f0f72a7448a885d60f1c26512fe84740af3
4
- data.tar.gz: 75d5118016122bb723098f3b42c1110b4029b9f8485a16fdb6cf0bc6a13ae538
3
+ metadata.gz: 583ae9463f2ad7039927ee730e77d0735a25aa2659706aed89a1e1e60fc2b097
4
+ data.tar.gz: aae985bb6164d773959732e955ce1a9264be1830544fbce3676707e05a48ce25
5
5
  SHA512:
6
- metadata.gz: 50b2cfbf7a71f94dd61e1891bae7688b974c14e072577c408a1ca17e064e8ff1885b76643eb5efaf6df1b9ceaa8fe2a51ce3587c4ec6cfc8478cb6e3fbc73514
7
- data.tar.gz: a702fed36f9a6a2fc489c3f8dd9367f6390f7b20b5f1d0a3a6cc7fda8b07957da376d8bf5795037b3e70f072c1fd278563c5fab0e478d827285af2aa5e16bd37
6
+ metadata.gz: 30fbdba242e5697eda518dfe4115eb17f31840bfe1c1400493abd7b82111a0eb5a6c4ebf0ce20f70d281d30310651722931540e3a6524795fa4866cbea9de96c
7
+ data.tar.gz: 85328b0f4914e3d9a7d43b777b10dde7aeae118041781f039aca78f96671f387556fcc6ca7d5d51b02eff338943ebeef52d138374d5786f8d7c402a6ba20de31
@@ -22,6 +22,8 @@ module EffectiveDatatablesHelper
22
22
 
23
23
  datatable.view ||= self
24
24
 
25
+ datatable.state[:length] = 9999999 if simple
26
+
25
27
  unless EffectiveDatatables.authorized?(controller, :index, datatable.collection_class)
26
28
  return content_tag(:p, "You are not authorized to view this datatable. (cannot :index, #{datatable.collection_class})")
27
29
  end
@@ -1,3 +1,3 @@
1
1
  module EffectiveDatatables
2
- VERSION = '4.13.1'.freeze
2
+ VERSION = '4.13.2'.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: 4.13.1
4
+ version: 4.13.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Code and Effect