From: Thomas Wood Date: Mon, 4 May 2009 22:42:07 +0000 (+0000) Subject: Sort the tags for the databrowser output. X-Git-Tag: live~7484 X-Git-Url: https://git.openstreetmap.org/rails.git/commitdiff_plain/c18d684ddad7b4b23b403c543b40a35ed6a3f6ee Sort the tags for the databrowser output. --- diff --git a/app/views/browse/_tag_details.rhtml b/app/views/browse/_tag_details.rhtml index 6f82689c2..ac407a7d7 100644 --- a/app/views/browse/_tag_details.rhtml +++ b/app/views/browse/_tag_details.rhtml @@ -1,10 +1,10 @@ -<% unless tag_details.tags_as_hash.empty? %> +<% unless tag_details.tags.empty? %> Tags: - <%= render :partial => "tag", :collection => tag_details.tags_as_hash %> + <%= render :partial => "tag", :collection => tag_details.tags.sort %>
- + <% end %>