diff --git a/app/Domains/Vault/ManageVault/Web/ViewHelpers/VaultShowViewHelper.php b/app/Domains/Vault/ManageVault/Web/ViewHelpers/VaultShowViewHelper.php index 6dc9553b7cf..23c9fac0597 100644 --- a/app/Domains/Vault/ManageVault/Web/ViewHelpers/VaultShowViewHelper.php +++ b/app/Domains/Vault/ManageVault/Web/ViewHelpers/VaultShowViewHelper.php @@ -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() );