mirror of
https://github.com/stashapp/stash.git
synced 2025-12-17 12:24:38 +03:00
Fix gallery updating (#2611)
This commit is contained in:
@@ -187,7 +187,8 @@ func (scanner *Scanner) ScanNew(ctx context.Context, file file.SourceFile) (retG
|
||||
scanner.PluginCache.ExecutePostHooks(ctx, g.ID, plugin.GalleryUpdatePost, nil, nil)
|
||||
}
|
||||
|
||||
scanImages = isNewGallery
|
||||
// Also scan images if zip file has been moved (ie updated) as the image paths are no longer valid
|
||||
scanImages = isNewGallery || isUpdatedGallery
|
||||
retGallery = g
|
||||
|
||||
return
|
||||
|
||||
Reference in New Issue
Block a user