Bug fix
git-svn-id: file:///home/svn/framework3/trunk@3984 4d416f70-5f16-0410-b530-b9f4589650daunstable
parent
b5b87403d3
commit
eac4c77c1a
|
@ -16,12 +16,15 @@ class ApplicationController < ActionController::Base
|
|||
next
|
||||
end
|
||||
|
||||
if (m.desc.downcase.index(terms.downcase))
|
||||
if (m.description.downcase.index(terms.downcase))
|
||||
res << m
|
||||
next
|
||||
end
|
||||
|
||||
end
|
||||
|
||||
p res.length
|
||||
|
||||
res
|
||||
end
|
||||
|
||||
|
|
Loading…
Reference in New Issue