BUGFIX: double entries for almanachse

This commit is contained in:
Simon Martens
2026-01-24 22:14:39 +01:00
parent 5d75934c37
commit cc1f1a8473
13 changed files with 2174 additions and 1953 deletions

View File

@@ -34,6 +34,9 @@ func RecordsFromInhalte(
for i := 0; i < len(inhalte.Inhalte); i++ {
record := dbmodels.NewContent(core.NewRecord(collection))
inhalt := inhalte.Inhalte[i]
if shouldSkipDummyContent(inhalt, images) {
continue
}
band, ok := entries[inhalt.Band]
if !ok {
app.Logger().Error("Band not found", "band", inhalt.Band)