Source order seems to be significant

Regressed in d3c5c86b21
This commit is contained in:
Jason Zimdars
2025-04-14 09:23:57 -05:00
parent 3cfdaf1129
commit 289487a383
+2 -2
View File
@@ -1,10 +1,10 @@
class NotificationsController < ApplicationController
def index
set_page_and_extract_portion_from Current.user.notifications.read.ordered
if @page.first?
@unread = Current.user.notifications.unread.ordered
end
set_page_and_extract_portion_from Current.user.notifications.read.ordered
end
def mark_read