simple_drilldown 0.6.0 → 0.6.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: 53f9f0ff7f16bcfcd62b638ed5b3bb798f09201a0fb5dc4d5c2fcc766ed88965
|
4
|
+
data.tar.gz: 2b7281ee154aa2f536638de060a261876d64da5e4a8b7e69734acff3624d80c9
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: a9db993aa1a44902eca10b9b83e7dc6dab95b51301ef4b12baca8c18fd0e696c0ae0177dfcd2b256e486fac09b3d327cd96d0108bd3e5aaef66015f8728dd7cf
|
7
|
+
data.tar.gz: 4f3d1e4b045b608b1917b453e48ac6aaa1448f21c593a2124a8bde05b53de069b11836792376083ce89ca94ff6ab2dc482cd963e45dc7ad70ba4a97164332a6a
|
@@ -1,11 +1,11 @@
|
|
1
1
|
# frozen_string_literal: true
|
2
2
|
|
3
|
-
require 'simple_drilldown/
|
3
|
+
require 'simple_drilldown/helper'
|
4
4
|
require 'simple_drilldown/search'
|
5
5
|
|
6
6
|
module SimpleDrilldown
|
7
7
|
class Controller < ::ApplicationController
|
8
|
-
helper
|
8
|
+
helper Helper
|
9
9
|
|
10
10
|
LIST_LIMIT = 10_000
|
11
11
|
|
@@ -539,7 +539,7 @@ module SimpleDrilldown
|
|
539
539
|
end
|
540
540
|
joins = self.class.make_join([], c_target_class.name.underscore.to_sym, list_includes)
|
541
541
|
list_conditions = list_conditions(conditions, values)
|
542
|
-
base_query = c_target_class.unscoped.where(c_base_condition).joins(joins).order(
|
542
|
+
base_query = c_target_class.unscoped.where(c_base_condition).joins(joins).order(c_list_order)
|
543
543
|
base_query = base_query.where(list_conditions) if list_conditions
|
544
544
|
result[:transactions] = base_query.to_a
|
545
545
|
end
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: simple_drilldown
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.6.
|
4
|
+
version: 0.6.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Uwe Kubosch
|
@@ -126,8 +126,8 @@ files:
|
|
126
126
|
- lib/generators/drilldown_controller/templates/drilldown_controller_test.rb.erb
|
127
127
|
- lib/simple_drilldown.rb
|
128
128
|
- lib/simple_drilldown/controller.rb
|
129
|
-
- lib/simple_drilldown/drilldown_helper.rb
|
130
129
|
- lib/simple_drilldown/engine.rb
|
130
|
+
- lib/simple_drilldown/helper.rb
|
131
131
|
- lib/simple_drilldown/routing.rb
|
132
132
|
- lib/simple_drilldown/search.rb
|
133
133
|
- lib/simple_drilldown/version.rb
|