# Flagged Queue でのカスタム投稿フィールドのレンダリング

**URL:** <https://meta.discourse.org/t/rendering-custom-post-field-in-flagged-queue/81991>\
**Category:** Development\
**Created:** [2018 年 3 月 2 日午後 6:13 UTC](https://meta.discourse.org/t/rendering-custom-post-field-in-flagged-queue/81991 "2018-03-02T18:13:21Z")\
**Posts on this page:** 1\
**Showing post:** 2

<div class="post-metadata">

**Author:** ![joebuhlig](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/joebuhlig/32/193054_2.png) [@joebuhlig](https://meta.discourse.org/u/joebuhlig)\
**Post date:** [2018 年 3 月 2 日午後 7:14 UTC](https://meta.discourse.org/t/rendering-custom-post-field-in-flagged-queue/81991/2 "2018-03-02T19:14:42Z")

</div>

Looks like the `flaggedPost` object gets its origin here:

> <https://github.com/discourse/discourse/blob/8ff41045550ba872d02590d7c44394ede1a7c89f/lib/flag_query.rb#L31>

That means it’s not using the `PostSerializer` to create `flaggedPost`. Which means you would likely have to either monkey-patch it (not recommended) or append the custom fields after the Ember app creates `flaggedPost` (not fun).

That said, it seems odd to me that the flags structure uses a `FlaggedTopicSerializer` but not a `FlaggedPostSerializer`.

---

_[View the full topic](https://meta.discourse.org/t/rendering-custom-post-field-in-flagged-queue/81991)._
