0
0
Fork 0
mirror of https://github.com/discourse/discourse.git synced 2026-08-05 13:59:03 +08:00
discourse/app
Bannon Tanner 0fb15b0223
FIX: Reviewable Insights Metadata
Previously, the reviewable insights metadata was not being serialized
correctly for admin users that flagged their own posts. There was a
conflict with the order of the `has_one` associations in the
`ReviewableSerializer`. When an admin flagged their own post, the user
was identical for both the `target_created_by` and `created_by`
attributes. This silently dropped the `target_created_by` attribute,
resulting in broken metadata (join date, post count) for the flagged post.

This commit reordered the `has_one` associations in the
`ReviewableSerializer` to ensure that `target_created_by` is serialized
before `created_by`.
2026-07-29 18:04:35 -05:00
..
assets Add container queries library (#41876) 2026-07-29 18:42:45 +01:00
controllers FIX: Race condition allows bypass of data export rate limit in Discourse (#41990) 2026-07-29 13:04:18 -05:00
helpers UX: Hide signup when the site is in read only or staff only mode (#42101) 2026-07-28 20:05:04 +02:00
jobs FEATURE: Support markdown in tag descriptions (#41996) 2026-07-29 14:43:47 +01:00
mailers FEATURE: Log in with a one-time email code (#40804) 2026-06-17 12:34:48 -07:00
models FEATURE: Support markdown in tag descriptions (#41996) 2026-07-29 14:43:47 +01:00
queries/reports DEV: Remove reporting_improvements upcoming change (#41259) 2026-07-01 07:52:02 +08:00
serializers FIX: Reviewable Insights Metadata 2026-07-29 18:04:35 -05:00
services FEATURE: Make the message send shortcut a core user option (#42105) 2026-07-28 13:58:12 -07:00
views FIX: Preserve URI delimiters in ICS URL properties, removing TEXT escaping (#42107) 2026-07-28 14:53:16 -05:00