Rendering custom post field in Flagged Queue

Thanks Robin. I really need a solution that does not patch the Discourse source. Is that something you were thinking of adding, the ability to “extend” SQL builders?

I am a little confused about how your load_extra_data can extend the query being used to create posts. It looks to me that the query has already been built and executed by that point and all one could do is inject extra data into the result objects. I have to admit that Ruby syntax does mess with my mind though, so maybe I missed something? Or are you saying that separately from the extend the query method, as in:

option 1: modify the query building the posts
OR
option 2: inject extra data into the results after the initial query.

Either one seems like I would need to modify the Discourse source to accomplish, and I would need a solution that can be done completely from the plugin.