ADD issue pull 支持内容搜索
This commit is contained in:
parent
8a47761afb
commit
00f5a7f916
|
@ -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?
|
||||
|
|
Loading…
Reference in New Issue