mirror of
https://github.com/stashapp/stash.git
synced 2025-12-18 12:54:38 +03:00
Fix relationship not loaded panic (#2915)
This commit is contained in:
@@ -467,6 +467,10 @@ func (me *contentDirectoryService) getVideos(sceneFilter *models.SceneFilterType
|
||||
}
|
||||
} else {
|
||||
for _, s := range scenes {
|
||||
if err := s.LoadPrimaryFile(ctx, me.repository.FileFinder); err != nil {
|
||||
return err
|
||||
}
|
||||
|
||||
objs = append(objs, sceneToContainer(s, parentID, host))
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user