discourse/app
Dan Ungureanu d1d9f83304
FIX: Link notification to first unread post (#12868)
* FIX: Link notification to first unread post

If a topic with a few posts was posted in a watched category or with a
watched tag, the created notification would always point to the last
post, instead of pointing to the first one.

The root cause is that the query that fetched the first unread post
uses 'TopicUser' records and those are not created by default for
user watching a category or tag. In this case, it should use the
'CategoryUser' or 'TagUser' records.

* DEV: Use named bind variables
2021-05-04 13:03:00 +10:00
..
assets FIX: show required only when full name is required and lint fix (#12916) 2021-05-04 12:58:26 +10:00
controllers DEV: Don't force Ember CLI for proxied requests made by Ember CLI (#12909) 2021-04-30 13:27:35 +03:00
helpers FEATURE: Allow theme tests to be run in production (take 2) (#12845) 2021-04-28 23:12:08 +03:00
jobs FEATURE: add support for like webhooks (#12917) 2021-04-30 17:08:38 -07:00
mailers FEATURE: Auto-activate users invited by email (#12675) 2021-04-14 12:15:56 +03:00
models FEATURE: add support for like webhooks (#12917) 2021-04-30 17:08:38 -07:00
serializers FEATURE: add support for like webhooks (#12917) 2021-04-30 17:08:38 -07:00
services FIX: Link notification to first unread post (#12868) 2021-05-04 13:03:00 +10:00
views DEV: Arrange theme QUnit dependencies in the right order (#12907) 2021-04-30 13:28:33 +03:00