From 002371920d6f9acedaf987f273bb138a95353ffd Mon Sep 17 00:00:00 2001 From: Miquel Sabaté Solà Date: Fri, 15 Mar 2024 10:38:05 +0100 Subject: Fixed search for tags with spaces MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit We should not split the body mindlessly, but we have to be more careful about it. Moreover, this commit also polishes the order for tags inside of comments. Signed-off-by: Miquel Sabaté Solà --- app/views/tags/_taggable.html.erb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'app/views') diff --git a/app/views/tags/_taggable.html.erb b/app/views/tags/_taggable.html.erb index 84e236b..5d848d0 100644 --- a/app/views/tags/_taggable.html.erb +++ b/app/views/tags/_taggable.html.erb @@ -3,7 +3,7 @@
<%= I18n.t('tags.title') %> — <%= link_to I18n.t('tags.new-action'), new_tag_path %>
- <% Tag.find_each do |tag| %> + <% Tag.order(:name).find_each do |tag| %>