From 2fa5fb67386a902a4f561d83e877fdf609805db4 Mon Sep 17 00:00:00 2001 From: albert Date: Mon, 18 Feb 2013 00:22:05 -0500 Subject: [PATCH] fixes --- app/models/user.rb | 4 ++-- config/danbooru_default_config.rb | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/app/models/user.rb b/app/models/user.rb index c33f8009c..d9af1e158 100644 --- a/app/models/user.rb +++ b/app/models/user.rb @@ -465,11 +465,11 @@ class User < ActiveRecord::Base return q if params.blank? if params[:name] - q = q.name_matches(params[:name]) + q = q.name_matches(params[:name].downcase) end if params[:name_matches] - q = q.name_matches(params[:name_matches]) + q = q.name_matches(params[:name_matches].downcase) end if params[:min_level] diff --git a/config/danbooru_default_config.rb b/config/danbooru_default_config.rb index 2748aef6e..e27e09a2b 100644 --- a/config/danbooru_default_config.rb +++ b/config/danbooru_default_config.rb @@ -139,7 +139,7 @@ module Danbooru # Maximum size of an upload. def max_file_size - 5.megabytes + 10.megabytes end def member_comment_time_threshold