fixes #1028
This commit is contained in:
@@ -42,7 +42,7 @@ class WikiPage < ActiveRecord::Base
|
||||
end
|
||||
|
||||
if params[:creator_name].present?
|
||||
q = q.where("creator_id = (select _.id from users _ where lower(_.name) = ?)", params[:creator_name].downcase)
|
||||
q = q.where("creator_id = (select _.id from users _ where lower(_.name) = ?)", params[:creator_name].tr(" ", "_").mb_chars.downcase)
|
||||
end
|
||||
|
||||
if params[:sort] == "time" || params[:sort] == "Date"
|
||||
|
||||
Reference in New Issue
Block a user