effective_resources 2.17.0 → 2.17.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/app/models/effective/resources/forms.rb +2 -1
- data/lib/effective_resources/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 66b9fac622ba1011fb81e24ca565d714b78028bd464b14b8e199558eb2e795f1
|
4
|
+
data.tar.gz: 72736d311ac7c200758628c5cf4b31b840b2f7e16d482f26771b79b038bb46c1
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 6db9023e73e61521f5265407d753831fc8cc62e0b4d5481692242ccbe4643cb59dfe7b077db2de7ee66b3be4bfdf13492816804c9b76a19ac186266f89e95080
|
7
|
+
data.tar.gz: 6027c08af646b16c6e218c6842c35448aca20420919512ca81b3af573fdbbbe4d9e359a193ba80b37548449a972dccc94064edc305c512f5683b38552de25e31
|
@@ -83,13 +83,14 @@ module Effective
|
|
83
83
|
scope.datatables_scope
|
84
84
|
elsif scope.respond_to?(:datatables_filter)
|
85
85
|
scope.datatables_filter
|
86
|
+
elsif scope.respond_to?(:shallow)
|
87
|
+
scope.shallow
|
86
88
|
elsif scope.respond_to?(:sorted)
|
87
89
|
scope.sorted
|
88
90
|
else
|
89
91
|
scope
|
90
92
|
end
|
91
93
|
|
92
|
-
scope = scope.deep if scope.respond_to?(:deep)
|
93
94
|
scope = scope.unarchived if scope.respond_to?(:unarchived)
|
94
95
|
|
95
96
|
# Now that we have the scope figured out let's pull the limit number of records into an Array
|