forest_liana 8.0.7 → 8.0.8
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/app/services/forest_liana/scope_manager.rb +1 -0
- data/lib/forest_liana/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 144a5d5218a66e05c1cd33570af23f64115ef99797e1432823bd83c835149e6b
|
4
|
+
data.tar.gz: 439169bb522118eba3662ffe5c1145835b6ca0b26441015311d4b43250cad9b0
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: d3fdc5f386dc1992e36c450ddb48544178adae725432e0c76ac5d9b007719ca0ef4c820a71abec58bfe041f9ee9fd81824c1c7ece6d40c2f825148788faa20b5
|
7
|
+
data.tar.gz: 8358b11f10930dd9d7082cd719f74726ecf22a941060544bc4c336ef8c57a47bda45c1439575cf52ae7f83b9c2daa6df044a6f1a4397ab290b6b079f68bcbeef
|
@@ -13,6 +13,7 @@ module ForestLiana
|
|
13
13
|
end
|
14
14
|
|
15
15
|
def self.append_scope_for_user(existing_filter, user, collection_name)
|
16
|
+
existing_filter = existing_filter.to_json if existing_filter.is_a?(ActionController::Parameters)
|
16
17
|
scope_filter = get_scope_for_user(user, collection_name, as_string: true)
|
17
18
|
filters = [existing_filter, scope_filter].compact
|
18
19
|
|
data/lib/forest_liana/version.rb
CHANGED