<% heading ||= type.to_s.humanize %>
<section id="<%= heading.downcase %>" class="document-block documents-<%= document_block_counter %>">
  <h1 class="label"><%= heading %></h1>
  <div class="content">
    <%= render partial: "shared/list_description", locals: { editions: documents } %>
    <p class="see-all">
      <%= link_to "See all #{heading.downcase}", public_send("#{type}_filter_path", @classification, publication_filter_option: heading.downcase) %>
    </p>
  </div>
</section>

<%
   heading ||= type.to_s.humanize
   filter_option = (heading == "Publications") ? "all" : heading.downcase
%>
<section id="<%= heading.downcase %>" class="document-block documents-<%= document_block_counter %>">
  <h1 class="label"><%= heading %></h1>
  <div class="content">
    <%= render partial: "shared/list_description", locals: { editions: documents } %>
    <p class="see-all">
      <%= link_to "See all #{heading.downcase}", public_send("#{type}_filter_path", @classification, publication_filter_option: filter_option) %>
    </p>
  </div>
</section>

Fix "See all publications" link filtering
Fix "See all publications" link filtering
