mirror of
https://gitlink.org.cn/Gitlink/forgeplus.git
synced 2026-07-14 14:04:32 +08:00
issue links
This commit is contained in:
@@ -70,8 +70,10 @@ class Api::V1::Issues::ListService < ApplicationService
|
||||
issues = issues.where(fixed_version_id: milestone_id) if milestone_id.present?
|
||||
|
||||
#pm相关
|
||||
# root_id,
|
||||
issues = issues.where(root_id: root_id) if root_id.present?
|
||||
# root_id
|
||||
if pm_project_id.present?
|
||||
issues = issues.where(root_id: root_id.present? ? nil : root_id)
|
||||
end
|
||||
|
||||
# pm_issue_type
|
||||
issues = issues.where(pm_issue_type: pm_issue_type) if pm_issue_type.present?
|
||||
|
||||
Reference in New Issue
Block a user