From d19deb658b67804abc445832104db6f04454b9e3 Mon Sep 17 00:00:00 2001 From: Rick Barrette Date: Fri, 7 Aug 2026 21:54:39 -0400 Subject: [PATCH] Fix query to filter appointments by date instead of start_date --- app/views/my/blocks/_upcoming_appointments.html.erb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/views/my/blocks/_upcoming_appointments.html.erb b/app/views/my/blocks/_upcoming_appointments.html.erb index 62c1406..43131a8 100644 --- a/app/views/my/blocks/_upcoming_appointments.html.erb +++ b/app/views/my/blocks/_upcoming_appointments.html.erb @@ -15,7 +15,7 @@ end # Look back up to 60 days to capture multi-day appointments starting in the past - raw_appointments = appointments_scope.where('start_date >= ?', Date.today - 60.days) + raw_appointments = appointments_scope.where('date >= ?', Date.today - 60.days) expanded_appointments = []