##// END OF EJS Templates
Fixed: 'search titles only' box ignored after one search is done on titles only....
Jean-Philippe Lang -
r1667:aaca2c50e563
parent child
Show More
@@ -78,7 +78,7 module Redmine
78 end
78 end
79
79
80 columns = searchable_options[:columns]
80 columns = searchable_options[:columns]
81 columns.slice!(1..-1) if options[:titles_only]
81 columns = columns[0..0] if options[:titles_only]
82
82
83 token_clauses = columns.collect {|column| "(LOWER(#{column}) LIKE ?)"}
83 token_clauses = columns.collect {|column| "(LOWER(#{column}) LIKE ?)"}
84
84
General Comments 0
You need to be logged in to leave comments. Login now