forest_admin_datasource_active_record 1.0.0.pre.beta.107 → 1.0.0.pre.beta.108
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: ee1e32d309d7646295c1809eb37b38be40f1ab3c3f2bf30b8e5496ded0ac7918
|
4
|
+
data.tar.gz: 565b27be2a28c34fe50f8de4f9583e74fecb0af057bbf4568c16008a62000cac
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 347ac831ffef6a188f22042617bda247e005a4dc3abab9bba564281bc90e8c95dcfc07b2ed1551fae85af447e7c58c27d4c07831d711f2debd704ad2d232b0fb
|
7
|
+
data.tar.gz: 42bb31564f2934f0149cc0a6c317eb490658b93762715291f37e4597882e3f0700cabde2bd4b9dc1ac1068c9cb83cfb1f29cdc0829a175b7bc756dea0717c2d0
|
@@ -110,7 +110,12 @@ module ForestAdminDatasourceActiveRecord
|
|
110
110
|
end
|
111
111
|
end
|
112
112
|
|
113
|
-
|
113
|
+
next if relation_schema.type == 'PolymorphicManyToOne'
|
114
|
+
|
115
|
+
if relation_schema.respond_to?(:foreign_collection)
|
116
|
+
target_collection = collection.datasource.get_collection(relation_schema.foreign_collection)
|
117
|
+
build_select(target_collection, sub_projection)
|
118
|
+
end
|
114
119
|
end
|
115
120
|
end
|
116
121
|
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: forest_admin_datasource_active_record
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.0.0.pre.beta.
|
4
|
+
version: 1.0.0.pre.beta.108
|
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: 2025-
|
12
|
+
date: 2025-09-11 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: activerecord
|