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:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 583ae9463f2ad7039927ee730e77d0735a25aa2659706aed89a1e1e60fc2b097
|
4
|
+
data.tar.gz: aae985bb6164d773959732e955ce1a9264be1830544fbce3676707e05a48ce25
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
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
|