We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9191c54 commit b0e0196Copy full SHA for b0e0196
app/services/forest_liana/scope_manager.rb
@@ -13,6 +13,7 @@ def self.apply_scopes_on_records(records, forest_user, collection_name, timezone
13
end
14
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)
17
scope_filter = get_scope_for_user(user, collection_name, as_string: true)
18
filters = [existing_filter, scope_filter].compact
19
0 commit comments