mirror of
https://gitlab.dit.htwk-leipzig.de/htwk-software/htwkalender.git
synced 2026-01-16 19:42:26 +01:00
added beta version of frontend to serve
This commit is contained in:
@@ -124,9 +124,9 @@ func GetPlanForModules(app *pocketbase.PocketBase, modules []struct {
|
||||
var queryString string
|
||||
for i, module := range modules {
|
||||
if i == 0 {
|
||||
queryString = "Name = '" + module.Name + "'"
|
||||
queryString = "Name = '" + module.Name + "' AND course = '" + module.Course + "'"
|
||||
} else {
|
||||
queryString = queryString + " OR Name = '" + module.Name + "'"
|
||||
queryString = queryString + " OR Name = '" + module.Name + "' AND course = '" + module.Course + "'"
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user