diff --git a/app/views/search/_source_tabs.html.erb b/app/views/search/_source_tabs.html.erb index fd1aadb..e164ebf 100644 --- a/app/views/search/_source_tabs.html.erb +++ b/app/views/search/_source_tabs.html.erb @@ -1,9 +1,9 @@
- <%= link_to "Primo", results_path(params.permit(:q, :per_page, :page, :booleanType, :tab).merge(tab: 'primo')), + <%= link_to "Primo", results_path(params.permit(:q, :per_page, :booleanType, :tab).merge(tab: 'primo')), class: "tab-link #{'active' if @active_tab == 'primo'}", data: { turbo_frame: "search-results", turbo_action: "advance" } %> - <%= link_to "TIMDEX", results_path(params.permit(:q, :per_page, :page, :booleanType, :tab).merge(tab: 'timdex')), + <%= link_to "TIMDEX", results_path(params.permit(:q, :per_page, :booleanType, :tab).merge(tab: 'timdex')), class: "tab-link #{'active' if @active_tab == 'timdex'}", data: { turbo_frame: "search-results", turbo_action: "advance" } %>