Merge branch 'fix-notifications-index' into 'main'
Fix notifications index See merge request soapbox-pub/rebased!301
This commit is contained in:
commit
d6f91ad370
1 changed files with 1 additions and 1 deletions
|
@ -93,7 +93,7 @@ def last_read_query(user) do
|
|||
where: q.seen == true,
|
||||
select: type(q.id, :string),
|
||||
limit: 1,
|
||||
order_by: [desc: :id]
|
||||
order_by: fragment("? desc nulls last", q.id)
|
||||
)
|
||||
end
|
||||
|
||||
|
|
Loading…
Reference in a new issue