Skip to content

Commit 3627e34

Browse files
committed
use path params and params in intial scope
1 parent 6b2d009 commit 3627e34

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/activeadmin/searchable_select/select_input_extension.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -84,7 +84,7 @@ def selected_values
8484
end
8585

8686
def option_collection_scope
87-
option_collection.scope(template, ajax_params)
87+
option_collection.scope(template, path_params.merge(ajax_params))
8888
end
8989

9090
def option_collection

0 commit comments

Comments
 (0)