Skip to content

Commit 131dabf

Browse files
authored
Merge pull request #267 from MITLibraries/use-158-tabs-page-one
Removes page parameter from tab links
2 parents 9a427a7 + ec670e1 commit 131dabf

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

app/views/search/_source_tabs.html.erb

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
<!-- Tab Navigation -->
22
<div id="tabs" class="tab-navigation top-space">
3-
<%= link_to "Primo", results_path(params.permit(:q, :per_page, :page, :booleanType, :tab).merge(tab: 'primo')),
3+
<%= link_to "Primo", results_path(params.permit(:q, :per_page, :booleanType, :tab).merge(tab: 'primo')),
44
class: "tab-link #{'active' if @active_tab == 'primo'}",
55
data: { turbo_frame: "search-results", turbo_action: "advance" } %>
6-
<%= link_to "TIMDEX", results_path(params.permit(:q, :per_page, :page, :booleanType, :tab).merge(tab: 'timdex')),
6+
<%= link_to "TIMDEX", results_path(params.permit(:q, :per_page, :booleanType, :tab).merge(tab: 'timdex')),
77
class: "tab-link #{'active' if @active_tab == 'timdex'}",
88
data: { turbo_frame: "search-results", turbo_action: "advance" } %>
99
</div>

0 commit comments

Comments
 (0)