Project

General

Profile

Defect #44724 ยป 0001-Fix-slow-issue-search-within-a-project-on-MariaDB.patch

Go MAEDA, 2026-11-07 00:29

View differences:

lib/plugins/acts_as_searchable/lib/acts_as_searchable.rb
end
if projects
scope = scope.where("#{searchable_options[:project_key]} IN (?)", projects.map(&:id))
scope = scope.where(searchable_options[:project_key] => projects.map(&:id))
end
scope
end
    (1-1/1)