Mercurial > hg > soundsoftware-site
changeset 938:598d53decdd8
#488 Show matching projects in search results first, even if there are many
author | Chris Cannam <chris.cannam@soundsoftware.ac.uk> |
---|---|
date | Wed, 11 Jul 2012 14:05:56 +0100 |
parents | 1a46b2c6da28 |
children | 1affbc7f4b30 |
files | app/views/search/index.html.erb |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- 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 %> </div> -<% 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 %> <h3><%= l(:label_matching_project_plural) %> (<%= @project_matches.count %>)</h3> <dl id="search-results"> <% @project_matches.each do |e| %>