Fix query to filter appointments by date instead of start_date

This commit is contained in:
ricky committed 2026-08-07 21:54:39 -04:00
1 parent 6077b2cb0b
commit d19deb658b
1 file changed
+1 -1
@@ -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 = []