diff --git a/app/views/search/_display_results.rhtml b/app/views/search/_display_results.rhtml index 40d4ad7..1599aa5 100644 --- a/app/views/search/_display_results.rhtml +++ b/app/views/search/_display_results.rhtml @@ -11,7 +11,7 @@ pos2 = :odd # allow to format in a two colons layout pos3 = 3 # allow to format in a thre colons layout %> -<% @results.sort_by { |name,results| @names[name] }.each do |name,results| %> +<% @results.each do |name,results| %> <% pos3 += 1; pos3 = 1 if pos3 > 3 pos2==:odd ? pos2=:even : pos2=:odd -- libgit2 0.21.2