From a03e0c3dde46b49cf02e283c90dcc8445aaf5ae8 Mon Sep 17 00:00:00 2001 From: "byte[]" Date: Fri, 20 Dec 2019 09:35:49 -0500 Subject: [PATCH] add missing sort to notifications page --- lib/philomena_web/controllers/notification_controller.ex | 1 + 1 file changed, 1 insertion(+) diff --git a/lib/philomena_web/controllers/notification_controller.ex b/lib/philomena_web/controllers/notification_controller.ex index e4fcc311..3eaf4e26 100644 --- a/lib/philomena_web/controllers/notification_controller.ex +++ b/lib/philomena_web/controllers/notification_controller.ex @@ -16,6 +16,7 @@ defmodule PhilomenaWeb.NotificationController do notifications = notifications + |> order_by(desc: :updated_at) |> Repo.paginate(conn.assigns.scrivener) entries =