We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent c3a936f commit 99d3217Copy full SHA for 99d3217
app/controllers/avo/base_controller.rb
@@ -25,9 +25,7 @@ def index
25
end
26
add_breadcrumb @resource.plural_name.humanize
27
28
- # Apply the search query if configured on the resource
29
set_index_params
30
- apply_search
31
set_filters
32
set_actions
33
set_query
@@ -37,6 +35,9 @@ def index
37
35
@query = @query.includes(*@resource.includes)
38
36
39
+ # Apply the search query if configured on the resource
+ apply_search
40
+
41
# Eager load attachments
42
if @resource.attachments.present?
43
@resource.attachments.each do |attachment|
0 commit comments