Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/app
diff options
context:
space:
mode:
authorPhil Hughes <me@iamphill.com>2017-01-30 18:39:40 +0300
committerFatih Acet <acetfatih@gmail.com>2017-02-03 17:02:44 +0300
commitc368b28cc9615b40881f5f39473314950e77aaa4 (patch)
treea6ee2be525042951e0a4f197c09aedc656bef380 /app
parent8323bc4919b9c13680fdc69e4ae25947b6ab0026 (diff)
Fixed issue with issue not persisting in list
Diffstat (limited to 'app')
-rw-r--r--app/controllers/projects/boards/issues_controller.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/controllers/projects/boards/issues_controller.rb b/app/controllers/projects/boards/issues_controller.rb
index a061b575e21..7fe61c6800d 100644
--- a/app/controllers/projects/boards/issues_controller.rb
+++ b/app/controllers/projects/boards/issues_controller.rb
@@ -73,7 +73,7 @@ module Projects
def serialize_as_json(resource)
resource.as_json(
labels: true,
- only: [:iid, :title, :confidential, :due_date],
+ only: [:id, :iid, :title, :confidential, :due_date],
include: {
assignee: { only: [:id, :name, :username], methods: [:avatar_url] },
milestone: { only: [:id, :title] }