diff --git a/app/views/search/results/_tables.html.erb b/app/views/search/results/_tables.html.erb index f92206720..1cda0a214 100644 --- a/app/views/search/results/_tables.html.erb +++ b/app/views/search/results/_tables.html.erb @@ -20,7 +20,10 @@ <%=t "search.index.module" %> <%= render partial: "search/results/partials/my_module_text.html.erb", - locals: { my_module: table.step.protocol.my_module, link_to_page: :results } %> + locals: { + my_module: table.step.protocol.my_module, + link_to_page: :protocols + } %>
@@ -57,7 +60,7 @@ <%=t "search.index.module" %> <%= render partial: "search/results/partials/my_module_text.html.erb", - locals: { my_module: table.result.my_module } %> + locals: { my_module: table.result.my_module, link_to_page: :results } %>
diff --git a/app/views/search/results/partials/_my_module_text.html.erb b/app/views/search/results/partials/_my_module_text.html.erb index 92ea8ce05..335eabe1f 100644 --- a/app/views/search/results/partials/_my_module_text.html.erb +++ b/app/views/search/results/partials/_my_module_text.html.erb @@ -27,7 +27,7 @@ <%= text %> <% when :results %> - + <%= text %> <% else %>