Commit c21021f9b53bc9b4a2566c5229a9e4a90b3ce53f
1 parent
f071768d
Exists in
master
and in
29 other branches
ActionItem323: not forcing a specific order
git-svn-id: https://svn.colivre.coop.br/svn/noosfero/trunk@1728 3f533792-8f58-4932-b0fe-aaf55b0a4547
Showing
1 changed file
with
1 additions
and
1 deletions
Show diff stats
app/views/search/_display_results.rhtml
... | ... | @@ -11,7 +11,7 @@ |
11 | 11 | pos2 = :odd # allow to format in a two colons layout |
12 | 12 | pos3 = 3 # allow to format in a thre colons layout |
13 | 13 | %> |
14 | -<% @results.sort_by { |name,results| @names[name] }.each do |name,results| %> | |
14 | +<% @results.each do |name,results| %> | |
15 | 15 | <% |
16 | 16 | pos3 += 1; pos3 = 1 if pos3 > 3 |
17 | 17 | pos2==:odd ? pos2=:even : pos2=:odd | ... | ... |