<% if current_page?(:controller => 'search', :action => 'search_boxed') %>
  <div class="results-more">
  <% if @results['total'] > 0 %>
    <%= link_to(
      "View all #{number_with_delimiter(@results['total'])} results",
      @results['view_more_url'],
      data: {count: @results['total']}, class: 'button button-subtle') %>
  <% else %>
    No results found.
  <% end %>
  </div>
<% end %>

<% if current_page?(:controller => 'search', :action => 'search_boxed') %>
  <div class="results-more">
  <% if @results['total'] > 0 %>
    <%= link_to(
      "View all #{number_with_delimiter(@results['total'])} results",
      @results['view_more_url'],
      data: {count: number_with_delimiter(@results['total'])}, class: 'button button-subtle') %>
  <% else %>
    No results found.
  <% end %>
  </div>
<% end %>

Use same number format in heading we do in view more
Use same number format in heading we do in view more
