We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d81641a commit dd8b0bbCopy full SHA for dd8b0bb
app/views/data/tags.html.erb
@@ -6,7 +6,7 @@
6
<ul class="collapsible">
7
<% Rails.application.config.content_types[:all].each do |content_type| %>
8
<%
9
- grouped_tags = PageTag.where(page_type: content_type.name, user_id: current_user).group_by(&:tag)
+ grouped_tags = PageTag.where(page_type: content_type.name, user_id: current_user).order('tag ASC').group_by(&:tag)
10
11
next if grouped_tags.values.length == 0
12
0 commit comments