ocean-rails 2.0.2 → 2.0.3
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/ocean/ocean_application_controller.rb +1 -1
- data/lib/ocean/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 9f8cd8f2ba59ac9b2f669890816ce5a5d16c3366
|
4
|
+
data.tar.gz: 1936254836b3381ff1948dcfb10325bc80ed756d
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: eb87950b526164ca3faf68da4989f6123489ebbe16e78587e13a1f88757429a11a369595842301a1d4e857386b90763bee8e4dca922e4cafb5a5bf47233f5cd2
|
7
|
+
data.tar.gz: 722b84061b17866b7a7b1505a57941d218aac564dfda703ecf69b4554f5fa52a11d27b52733da2f3217281353fd04fcca2483e5cbc6c733ac15262756c2640e1
|
@@ -177,7 +177,7 @@ module OceanApplicationController
|
|
177
177
|
resources = x.collect { |m| render_to_string(partial: m.to_partial_path,
|
178
178
|
locals: {m.class.model_name.i18n_key => m}) }
|
179
179
|
attrs = {count: resources.count,
|
180
|
-
total_count: x.unscope(
|
180
|
+
total_count: x.unscope(:where, :limit, :offset).count
|
181
181
|
}
|
182
182
|
links = {}
|
183
183
|
if href
|
data/lib/ocean/version.rb
CHANGED