discourse/app
Alan Guo Xiang Tan fff578f5fb
FIX: Can't dismiss unread posts in topics of a sub-subcategory (#22870)
This is a similar fix to 32d4810e2b

Why this change?

Prior to this change, there is a bug in `TopicsController#bulk`
where it does not dismiss new unred posts in sub-subcategories when the
`category_id` and `include_subcategories=true` params are present. This
is because the controller did not account for sub-subcategories when
fetching the category ids of the new topics that should be dismissed.

This commit fixes the problem by relying on the `Category.subcategory_ids` class
method which accounts for sub-subcategories.
2023-07-31 11:22:16 +08:00
..
assets Build(deps-dev): Bump eslint from 8.45.0 to 8.46.0 in /app/assets/javascripts (#22868) 2023-07-31 09:17:31 +08:00
controllers FIX: Can't dismiss unread posts in topics of a sub-subcategory (#22870) 2023-07-31 11:22:16 +08:00
helpers SECURITY: Don't reuse CSP nonce between anonymous requests 2023-07-28 12:53:44 +01:00
jobs FIX: Missing pending queued posts from topic view (#22838) 2023-07-28 16:16:23 +00:00
mailers FIX: Order tags shown in email subject by topics count and name (#22586) 2023-07-13 15:39:58 +08:00
models DEV: Delete upload references upon deleting draft (#22851) 2023-07-31 10:16:23 +08:00
serializers SECURITY: Hide restricted tags in noscript view 2023-07-28 12:53:50 +01:00
services FIX: Seed all categories and tags configured as defaults for nav menu (#22793) 2023-07-27 10:52:33 +08:00
views SECURITY: Hide restricted tags in noscript view 2023-07-28 12:53:50 +01:00