# HG changeset patch # User Chris Cannam # Date 1342011956 -3600 # Node ID 598d53decdd801d1f4b6d8b562ae4509a586500c # Parent 1a46b2c6da284a90b4eea12a3311c3623c64c812 #488 Show matching projects in search results first, even if there are many diff -r 1a46b2c6da28 -r 598d53decdd8 app/views/search/index.html.erb --- a/app/views/search/index.html.erb Wed Jul 11 13:30:20 2012 +0100 +++ b/app/views/search/index.html.erb Wed Jul 11 14:05:56 2012 +0100 @@ -21,7 +21,7 @@ <% end %> -<% if @project_matches and !@project_matches.empty? and (@project_matches.count < 6) and !@pagination_previous_date %> +<% if @project_matches and !@project_matches.empty? and !@pagination_previous_date %>

<%= l(:label_matching_project_plural) %> (<%= @project_matches.count %>)

<% @project_matches.each do |e| %>