mirror of
https://github.com/rickbarrette/redmine_qbo_vehicles.git
synced 2026-10-03 17:10:43 -04:00
removed duplicate comment
This commit is contained in:
1 parent
71bde3a249
commit
3e6c2672e0
1 file changed
-1
@@ -85,7 +85,6 @@ class Vehicle < ActiveRecord::Base
|
|||||||
where("vin LIKE ? OR make LIKE ? OR model LIKE ? OR year LIKE ?", "%#{q}%", "%#{q}%", "%#{q}%", "%#{q}%")
|
where("vin LIKE ? OR make LIKE ? OR model LIKE ? OR year LIKE ?", "%#{q}%", "%#{q}%", "%#{q}%", "%#{q}%")
|
||||||
end
|
end
|
||||||
|
|
||||||
# Override the defult redmine seach method to rank results by id
|
|
||||||
# Override the defult redmine seach method to rank results by id
|
# Override the defult redmine seach method to rank results by id
|
||||||
def self.search_result_ranks_and_ids(tokens, user, project = nil, options = {})
|
def self.search_result_ranks_and_ids(tokens, user, project = nil, options = {})
|
||||||
return {} if tokens.blank?
|
return {} if tokens.blank?
|
||||||
|
|||||||
Reference in new issue
Block a user