Skip to content

Commit

Permalink
fix: search current_user (#2101)
Browse files Browse the repository at this point in the history
  • Loading branch information
Paul-Bob authored Dec 13, 2023
1 parent 31c2927 commit 70ed54f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/controllers/avo/search_controller.rb
Original file line number Diff line number Diff line change
Expand Up @@ -162,7 +162,7 @@ def fetch_field
view: Avo::ViewInquirer.new(params[:via_reflection_view]),
record: parent,
params: params,
user: current_user
user: _current_user
)

reflection_resource.detect_fields.get_field_definitions.find do |field|
Expand Down

0 comments on commit 70ed54f

Please sign in to comment.