mirror of https://github.com/stashapp/stash.git
Fix relationship not loaded panic (#2915)
This commit is contained in:
parent
7a75313a1c
commit
90726086e5
|
@ -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))
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue