Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Training: Improve getNextTrainings and fix deleting trainings #1158

Merged
merged 1 commit into from
Jan 16, 2025

Conversation

blackcoder87
Copy link
Member

Description

  • Improve getNextTrainings.
  • Fix deleting of multiple trainings.

Previously a bunch of recurrent trainings could hide single trainings as their "real" date wasn't known until after fetching them from the database. Now the function gets all recurrent events in addition to the other trainings and return the requested count of trainings sorted by date.

Type of change

  • Bug fix (non-breaking change which fixes an issue)

This PR has been tested in the following browsers:

  • Chrome
  • Firefox
  • Opera
  • Edge

Fix deleting of multiple trainings.
@blackcoder87 blackcoder87 merged commit 0953fb4 into master Jan 16, 2025
6 checks passed
@blackcoder87 blackcoder87 deleted the training-improvements-delete-bugfix branch January 16, 2025 08:56
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant