Skip to content
Snippets Groups Projects
Commit e5501c5e authored by Chris Lemaire's avatar Chris Lemaire Committed by Chris Lemaire
Browse files

Filter out 'stale' requests


Requests that are stale are non-closed old time slot requests. These
showed up because the checkForUpcomingRequestsSlot function only filtered
upwards of the starting time of a slot.

By adding a lower bound for the filter on slot.opensAt, requests from longer
than 1 day ago should no longer show up.

Additional changes:
- A log message telling the time is removed as it did not any necessary information.
- An unused field for a datetime format is removed.

Signed-off-by: default avatarChris Lemaire <c.lemaire@student.tudelft.nl>
parent aaf5c23b
No related branches found
No related tags found
2 merge requests!201Development,!200Filter out 'stale' requests
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment