BEMADEV / Room-Management

1 stars 2 forks source link

Fix enddatetime parameter in ReservationSummaries lava block #51

Closed MichaelAllen closed 2 days ago

MichaelAllen commented 1 month ago

This PR fixes the issue reported in #50 where including a startdatetime parameter in the ReservationSummaries lava block would cause no results to be returned.

The existing code used the startdatetime parameter as both the start and end date of the filter. This PR changes it to correctly consider both the startdatetime and enddatetime parameters when filtering the reservations.

tcavaletto commented 2 days ago

Closing pull request because I got git into a weird state, added to next release