mirror of
https://github.com/rickbarrette/redmine_qbo.git
synced 2026-10-04 09:10:43 -04:00
Update customer.rb
This commit is contained in:
1 parent
37f6518a15
commit
77fc54dc31
1 file changed
+1
-1
@@ -143,7 +143,7 @@ class Customer < ActiveRecord::Base
|
||||
end
|
||||
|
||||
def self.search(search)
|
||||
where("name LIKE ?", "%#{search}%").sort
|
||||
where("name LIKE ?", "%#{search}%").order(:name)
|
||||
#where("id LIKE ?", "%#{search}%")
|
||||
end
|
||||
|
||||
|
||||
Reference in new issue
Block a user