mirror of
https://gitlink.org.cn/Gitlink/forgeplus.git
synced 2026-05-24 05:35:46 +08:00
新增:select字段增加created_on
This commit is contained in:
@@ -90,7 +90,7 @@ class Api::V1::Issues::ListService < ApplicationService
|
|||||||
end
|
end
|
||||||
|
|
||||||
if only_name.present?
|
if only_name.present?
|
||||||
scope = issues.select(:id, :subject, :project_issues_index)
|
scope = issues.select(:id, :subject, :project_issues_index, :updated_on, :created_on)
|
||||||
scope = scope.reorder("project_issues_index asc").distinct
|
scope = scope.reorder("project_issues_index asc").distinct
|
||||||
else
|
else
|
||||||
scope = issues.includes(:priority, :issue_status, :user, :show_assigners, :show_issue_tags, :version, :comment_journals)
|
scope = issues.includes(:priority, :issue_status, :user, :show_assigners, :show_issue_tags, :version, :comment_journals)
|
||||||
|
|||||||
Reference in New Issue
Block a user