refactoring and update

This commit is contained in:
Elmar Kresse
2023-08-26 21:48:44 +02:00
parent a39dee9a0b
commit 991d069931
5 changed files with 22 additions and 19 deletions

View File

@@ -102,6 +102,7 @@ func (e Events) EmitICal() goics.Componenter {
}
// GetPlanForCourseAndSemester gets all events for specific course and semester
// TODO add filter for year
func GetPlanForCourseAndSemester(app *pocketbase.PocketBase, course string, semester string) Events {
var events Events
// get all events from event records in the events collection