simple_drilldown 0.3.3 → 0.3.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/lib/simple_drilldown/drilldown_controller.rb +3 -3
- data/lib/simple_drilldown/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: edb4a7a11169686c1934a597adf694bcf0698324f51e1b0f3f1d50fd1c22eb5f
|
|
4
|
+
data.tar.gz: 39555fb5382aad0a9d4e0a5542c697a90115baf295b5b4ba618662b0dda7ef38
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: ca37f8f77a901ba524e062066a91daad4df326870656387d847acd79f3f06494208a5d6923a9aea96d1c66a171b35453a38788e0df7604aa2f6b6eb9b87ca8bd
|
|
7
|
+
data.tar.gz: e7d83e533b1b4862cc37d7adcf7c0491e9a8f250cbf2d5695a6cc8a8be48043917e02c5a4976f550ef0a90a000d959cb729f703cf95d307633b4ee7c18bbe591
|
|
@@ -302,11 +302,11 @@ module SimpleDrilldown
|
|
|
302
302
|
includes.keep_if(&:present?).uniq!
|
|
303
303
|
if @search.order_by_value && @dimensions.size <= 1
|
|
304
304
|
order = case @search.select_value
|
|
305
|
-
when
|
|
305
|
+
when Search::SelectValue::VOLUME
|
|
306
306
|
'volume DESC'
|
|
307
|
-
when
|
|
307
|
+
when Search::SelectValue::VOLUME_COMPENSATED
|
|
308
308
|
'volume_compensated DESC'
|
|
309
|
-
when
|
|
309
|
+
when Search::SelectValue::COUNT
|
|
310
310
|
'count DESC'
|
|
311
311
|
else
|
|
312
312
|
'count DESC'
|
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: simple_drilldown
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.3.
|
|
4
|
+
version: 0.3.4
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Uwe Kubosch
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2020-03-
|
|
11
|
+
date: 2020-03-19 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: chartkick
|