Merge branch 'standalone_develop' into dev_osredm_server

This commit is contained in:
yystopf 2025-07-30 16:52:21 +08:00
commit 88be8af8a8
1 changed files with 7 additions and 0 deletions

View File

@ -1,4 +1,11 @@
json.(issue, :id, :subject, :project_issues_index, :project_id)
json.project do
if issue.project.present?
json.partial! "api/v1/projects/simple_detail", locals: {project: issue.project}
else
json.nil!
end
end
json.blockchain_token_num (Site.has_blockchain? && issue.project&.use_blockchain) ? issue.blockchain_token_num : nil
json.created_at issue.created_on.strftime("%Y-%m-%d %H:%M")
json.updated_at issue.updated_on.strftime("%Y-%m-%d %H:%M")