effective_datatables 4.9.2 → 4.9.3
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
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 4ff0abf72b8f131a02f3ced253e086eae03c145d981e5c266e6cc2c896d811cd
|
|
4
|
+
data.tar.gz: e51004fc66c9801839e7f26027e07c1764e419b67da580250a313b83b6158be8
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 94a88b880e49ded7dddbd17fa4fbff3115e266c1fdb5a8550bc7039e14aa7483f73dceedbe6ff60f1ebd3ee8c520c126792970e82345517330ac8962ec1ae856
|
|
7
|
+
data.tar.gz: d9d8d9257057d8bfca9d38d8be0096b542a4877d452e7b5b33de3743f66d2d7c5cb1e5cf99fec1a8eef3eae15621f30b664f1096000f112ca2bbafe14c71cfbb
|
|
@@ -64,7 +64,7 @@ module EffectiveDatatablesHelper
|
|
|
64
64
|
}
|
|
65
65
|
}
|
|
66
66
|
|
|
67
|
-
if (charts || filters)
|
|
67
|
+
retval = if (charts || filters)
|
|
68
68
|
output = ''.html_safe
|
|
69
69
|
|
|
70
70
|
if charts
|
|
@@ -85,6 +85,10 @@ module EffectiveDatatablesHelper
|
|
|
85
85
|
locals: { datatable: datatable, effective_datatable_params: effective_datatable_params }
|
|
86
86
|
)
|
|
87
87
|
end
|
|
88
|
+
|
|
89
|
+
Rails.logger.info(" Rendered datatable #{datatable.class} #{datatable.source_location}")
|
|
90
|
+
|
|
91
|
+
retval
|
|
88
92
|
end
|
|
89
93
|
|
|
90
94
|
def render_inline_datatable(datatable)
|
|
@@ -21,6 +21,9 @@ module Effective
|
|
|
21
21
|
# The view
|
|
22
22
|
attr_reader :view
|
|
23
23
|
|
|
24
|
+
# Set by DSL so we can track where this datatable is coming from
|
|
25
|
+
attr_accessor :source_location
|
|
26
|
+
|
|
24
27
|
extend Effective::EffectiveDatatable::Dsl
|
|
25
28
|
|
|
26
29
|
include Effective::EffectiveDatatable::Attributes
|
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: effective_datatables
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 4.9.
|
|
4
|
+
version: 4.9.3
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Code and Effect
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2021-
|
|
11
|
+
date: 2021-09-09 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: rails
|