mirror of
https://gitlink.org.cn/Gitlink/forgeplus.git
synced 2026-05-03 03:40:49 +08:00
ADD issue pull 支持内容搜索
This commit is contained in:
@@ -28,7 +28,7 @@ class Issues::ListQueryService < ApplicationService
|
||||
end
|
||||
|
||||
if search_name.present?
|
||||
issues = issues.where("subject like ?", "%#{search_name}%")
|
||||
issues = issues.where("subject LIKE ? OR description LIKE ? ", "%#{search_name}%", "%#{search_name}%")
|
||||
end
|
||||
|
||||
if start_time&.present? || end_time&.present?
|
||||
|
||||
Reference in New Issue
Block a user