Skip to content

Commit

Permalink
feat: show reminders in chronological order (#7185)
Browse files Browse the repository at this point in the history
  • Loading branch information
abdabdii committed Mar 16, 2024
1 parent c71e128 commit 1422407
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,7 @@ public static function upcomingReminders(Vault $vault, User $user): array
fn ($channel) => $channel->contactReminders()
->wherePivot('scheduled_at', '<=', $currentDate->addDays(30))
->wherePivot('triggered_at', null)
->orderByPivot('scheduled_at', 'asc')
->get()
);

Expand Down

0 comments on commit 1422407

Please sign in to comment.