fixes
This commit is contained in:
@@ -465,11 +465,11 @@ class User < ActiveRecord::Base
|
|||||||
return q if params.blank?
|
return q if params.blank?
|
||||||
|
|
||||||
if params[:name]
|
if params[:name]
|
||||||
q = q.name_matches(params[:name])
|
q = q.name_matches(params[:name].downcase)
|
||||||
end
|
end
|
||||||
|
|
||||||
if params[:name_matches]
|
if params[:name_matches]
|
||||||
q = q.name_matches(params[:name_matches])
|
q = q.name_matches(params[:name_matches].downcase)
|
||||||
end
|
end
|
||||||
|
|
||||||
if params[:min_level]
|
if params[:min_level]
|
||||||
|
|||||||
@@ -139,7 +139,7 @@ module Danbooru
|
|||||||
|
|
||||||
# Maximum size of an upload.
|
# Maximum size of an upload.
|
||||||
def max_file_size
|
def max_file_size
|
||||||
5.megabytes
|
10.megabytes
|
||||||
end
|
end
|
||||||
|
|
||||||
def member_comment_time_threshold
|
def member_comment_time_threshold
|
||||||
|
|||||||
Reference in New Issue
Block a user