diff --git a/app/models/concerns/taggable.rb b/app/models/concerns/taggable.rb
index 70f1c0ab..4dba82ec 100644
--- a/app/models/concerns/taggable.rb
+++ b/app/models/concerns/taggable.rb
@@ -42,7 +42,8 @@ def tag_cloud
end
def find_like_tag(pattern)
- all_tags.uniq.select { |t| t =~ /#{pattern}/i }
+ transliterated_pattern = pattern.present? ? ActiveSupport::Inflector.transliterate(pattern) : ""
+ all_tags.uniq.select { |t| ActiveSupport::Inflector.transliterate(t) =~ /#{transliterated_pattern}/i }
end
# Builds a hash where the keys are the capital letters of the tags and the
diff --git a/app/views/users/index.html.erb b/app/views/users/index.html.erb
index 47b7322e..bf73c674 100644
--- a/app/views/users/index.html.erb
+++ b/app/views/users/index.html.erb
@@ -11,7 +11,7 @@
<%= search_form_for(@search, class: "navbar-form navbar-left", url: users_path) do |f| %>
- <%= f.search_field :member_search_cont, value: params.dig(:q, :member_search_cont), class: "form-control" %>
+ <%= f.search_field :member_search_unaccent_cont, value: params.dig(:q, :member_search_unaccent_cont), class: "form-control" %>