diff options
author | Alex Gleason <alex@alexgleason.me> | 2024-02-12 12:39:47 -0600 |
---|---|---|
committer | Mark Felder <feld@feld.me> | 2024-02-12 14:13:11 -0500 |
commit | 8daf19ec0faac26569bf078b140fc4f7ad0d6b2b (patch) | |
tree | 7b9a483fccf2fdd60324118d089fad5a92152bf2 | |
parent | 991807080bfb35caf32f2403d61dd6ced66a9a50 (diff) |
Fix notifications index
-rw-r--r-- | lib/pleroma/notification.ex | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/pleroma/notification.ex b/lib/pleroma/notification.ex index 48d467c59..368e609d2 100644 --- a/lib/pleroma/notification.ex +++ b/lib/pleroma/notification.ex @@ -88,7 +88,7 @@ defmodule Pleroma.Notification 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 |