Skip to content

Commit

Permalink
enhancement: parent_record on filters suggestions (#3486)
Browse files Browse the repository at this point in the history
  • Loading branch information
Paul-Bob authored Dec 4, 2024
1 parent 5ace271 commit 05693d0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/components/avo/views/resource_index_component.html.erb
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@
</div>
</div>
<% if has_dynamic_filters? %>
<%= render Avo::DynamicFilters::FiltersComponent.new resource: resource, turbo_frame: @turbo_frame, dynamic_filters_component_id: dynamic_filters_component_id %>
<%= render Avo::DynamicFilters::FiltersComponent.new resource: resource, turbo_frame: @turbo_frame, dynamic_filters_component_id: dynamic_filters_component_id, parent_record: @parent_record, parent_resource: @parent_resource %>
<% end %>
</div>
</div>
Expand Down

0 comments on commit 05693d0

Please sign in to comment.