Skip to content
This repository has been archived by the owner on Apr 10, 2023. It is now read-only.

Commit

Permalink
sort auto complete suggestions
Browse files Browse the repository at this point in the history
  • Loading branch information
sio4 committed May 13, 2016
1 parent a96c856 commit 311e702
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion app/views/auto_completes/_tag_list.html.erb
Original file line number Diff line number Diff line change
@@ -1 +1 @@
<%= raw @tags.collect {|tag| tag.name }.to_json %>
<%= raw @tags.collect {|tag| tag.name }.sort.to_json %>
2 changes: 1 addition & 1 deletion app/views/auto_completes/_tag_list.json.erb
Original file line number Diff line number Diff line change
@@ -1 +1 @@
<%= raw @tags.collect {|tag| tag.name }.to_json %>
<%= raw @tags.collect {|tag| tag.name }.sort.to_json %>

0 comments on commit 311e702

Please sign in to comment.