Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix gallery scan #2594

Merged
merged 1 commit into from
May 18, 2022
Merged

Conversation

DingDongSoLong4
Copy link
Collaborator

This fixes the problem where the images inside already-existing zip galleries are unnecessarily rescanned every time.

The incorrect error check means that images is always 0, which means scanImages is also always true, which causes the images inside the zip to be unnecessarily rescanned every time.
@WithoutPants WithoutPants added the bug Something isn't working label May 18, 2022
@WithoutPants WithoutPants added this to the Version 0.15.0 milestone May 18, 2022
@WithoutPants WithoutPants merged commit df24f90 into stashapp:develop May 18, 2022
WithoutPants added a commit that referenced this pull request May 18, 2022
@DingDongSoLong4 DingDongSoLong4 deleted the fix-gallery-scan branch May 19, 2022 09:19
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants