[#1490] /admin/calendar API only return data for the first date when filter with date range.

Migrated from Redmine #1490 | Author: Dzung Nguyen
Status: New | Priority: Immediate, there is BUG! | Created: 2025-11-13


Tested API URL Path: https://user-api-v2.enterpriseappointments.com/admin/calendar?mode=provider&filter[date_from]=2025-11-27&filter[date_to]=2025-11-27&filter[providers][]=17
Issues:

  • When date_from and date_to is the same date, the API return sample record for that day.
  • When date_from and date_to is different, the API only return sample record for the date_from.
    Expectation:
  • Have sample record for each day when filter with date range.