mirror of
https://github.com/Theodor-Springmann-Stiftung/musenalm.git
synced 2026-02-04 10:35:30 +00:00
BUGFIX: double entries for almanachse
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user