diff options
author | Phil Hughes <me@iamphill.com> | 2017-01-30 15:39:40 +0000 |
---|---|---|
committer | Fatih Acet <acetfatih@gmail.com> | 2017-02-03 17:02:44 +0300 |
commit | c368b28cc9615b40881f5f39473314950e77aaa4 (patch) | |
tree | a6ee2be525042951e0a4f197c09aedc656bef380 | |
parent | 8323bc4919b9c13680fdc69e4ae25947b6ab0026 (diff) | |
download | gitlab-ce-c368b28cc9615b40881f5f39473314950e77aaa4.tar.gz |
Fixed issue with issue not persisting in list
-rw-r--r-- | app/controllers/projects/boards/issues_controller.rb | 2 |
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] } |