forest_admin_datasource_customizer 1.26.0 → 1.26.2
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: e4491004a6f2a8aaaf09511f42b413dfcc09537b3d4a363f02c4f36226c23c18
|
|
4
|
+
data.tar.gz: 1c11523da9b9e2242d0656005aca1c38b7b4eb9297ebe7eae10977adc8781831
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: cda66cd5dbd2af80a68c3374c65596d0601afc33e1e96adb08083a589f4d7ddfcc7014258869d9155552be950bec3b8403db87892aeba2a14a3ce736d47b7413
|
|
7
|
+
data.tar.gz: '00881bbec365152ce54c693e3fb95102b760cea14e4b870ab64defe9a4db8b05ced65018b36b44059e6523293da54a2266ac48b967c0c1245917c950c00025ad'
|
data/lib/forest_admin_datasource_customizer/decorators/lazy_join/lazy_join_collection_decorator.rb
CHANGED
|
@@ -107,9 +107,11 @@ module ForestAdminDatasourceCustomizer
|
|
|
107
107
|
end
|
|
108
108
|
|
|
109
109
|
def apply_joins_on_aggregate_result(initial_aggregation, requested_aggregation, results, fields_to_replace)
|
|
110
|
-
return
|
|
110
|
+
return results if initial_aggregation == requested_aggregation
|
|
111
111
|
|
|
112
112
|
results.each do |result|
|
|
113
|
+
next unless result['group']
|
|
114
|
+
|
|
113
115
|
group = {}
|
|
114
116
|
result['group'].each do |field, value|
|
|
115
117
|
if fields_to_replace.include?(field)
|
metadata
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: forest_admin_datasource_customizer
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 1.26.
|
|
4
|
+
version: 1.26.2
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Matthieu
|
|
@@ -9,7 +9,7 @@ authors:
|
|
|
9
9
|
autorequire:
|
|
10
10
|
bindir: exe
|
|
11
11
|
cert_chain: []
|
|
12
|
-
date: 2026-03-
|
|
12
|
+
date: 2026-03-23 00:00:00.000000000 Z
|
|
13
13
|
dependencies:
|
|
14
14
|
- !ruby/object:Gem::Dependency
|
|
15
15
|
name: activesupport
|