mirror of
https://github.com/rickbarrette/redmine_qbo_calendar.git
synced 2026-10-03 20:40:43 -04:00
Fix query to filter appointments by date instead of start_date
This commit is contained in:
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 = []
|
||||
|
||||
|
||||
Reference in new issue
Block a user