Commit aaca2c50 authored by Jean-Philippe Lang's avatar Jean-Philippe Lang

Fixed: 'search titles only' box ignored after one search is done on titles only.

git-svn-id: http://redmine.rubyforge.org/svn/trunk@1684 e93f8b46-1217-0410-a6f0-8f06a7374b81
parent 9d3dfea1
......@@ -78,7 +78,7 @@ module Redmine
end
columns = searchable_options[:columns]
columns.slice!(1..-1) if options[:titles_only]
columns = columns[0..0] if options[:titles_only]
token_clauses = columns.collect {|column| "(LOWER(#{column}) LIKE ?)"}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment