Fixed: Setting issue attributes from mail should be case-insensitive (#8759).
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@6199 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
1 parent
93c2b92a4b
commit
2072669769
8 files changed
+19
-11
No files matched your search
@@ -32,6 +32,8 @@ class Tracker < ActiveRecord::Base
|
||||
validates_uniqueness_of :name
|
||||
validates_length_of :name, :maximum => 30
|
||||
|
||||
named_scope :named, lambda {|arg| { :conditions => ["LOWER(#{table_name}.name) = LOWER(?)", arg.to_s.strip]}}
|
||||
|
||||
def to_s; name end
|
||||
|
||||
def <=>(tracker)
|
||||
|
||||
Reference in new issue
Block a user