Verified Commit b46c19c3 authored by Alex Gleason's avatar Alex Gleason
Browse files

Fix notifications index

parent 6ea0d8e7
Loading
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -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