forest_admin_datasource_active_record 1.0.0.pre.beta.62 → 1.0.0.pre.beta.63
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: '085ff296ed7567aac9da70f81227a63b93c9574e8f916da499619237e267ec31'
|
4
|
+
data.tar.gz: cdd9e0940eaeb79e04283e6d6ad1c5917c7f7adf621de0300ed2a961d7fedc2b
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: d1df4be9da1451cfe4974d54cac8d987cde964645c57f174c5a2f6c2e341a03c0451be56bc38112d0e73a5e8ed53e41314b3a16735bb6b25311df740c1bf6276
|
7
|
+
data.tar.gz: 237252fdd836f7a4792976e9ca4fdf49046fe43bfab036cf2e822f862f35ed25ebab58fc74fa974ffbe651bc2f58eb6feea4eaf943d5c901b5d836e382196c69
|
@@ -3,9 +3,11 @@ module ForestAdminDatasourceActiveRecord
|
|
3
3
|
class Query
|
4
4
|
include ForestAdminDatasourceToolkit::Components::Query::ConditionTree
|
5
5
|
|
6
|
+
attr_reader :query
|
7
|
+
|
6
8
|
def initialize(collection, projection, filter)
|
7
9
|
@collection = collection
|
8
|
-
@query = @collection.model
|
10
|
+
@query = @collection.model.unscoped
|
9
11
|
@projection = projection
|
10
12
|
@filter = filter
|
11
13
|
@arel_table = @collection.model.arel_table
|
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.63
|
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: 2024-08-
|
12
|
+
date: 2024-08-20 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: activerecord
|