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 random page sent when book is downloaded #508

Merged

Conversation

akabhirav
Copy link
Contributor

@akabhirav akabhirav commented Feb 20, 2023

Fixes random pages being sent when a chapter is downloaded

Steps to reproduce

  1. In the master branch or release, download any chapter from any book while keeping download as cbz disabled
  2. Go to read that downloaded chapter

Expected behaviour

The pages should render in correct order

Current behaviour

The pages are getting rendered randomly

The problem was the files were not being sorted before being read and sent. Now that's fixed

@akabhirav akabhirav force-pushed the fix-random-page-when-downloaded branch 2 times, most recently from 455ef22 to a1c48dd Compare February 20, 2023 19:13
@akabhirav akabhirav force-pushed the fix-random-page-when-downloaded branch from a1c48dd to dac5ffd Compare February 20, 2023 19:33
@AriaMoradi AriaMoradi merged commit ac99dd5 into Suwayomi:master Feb 20, 2023
@akabhirav akabhirav deleted the fix-random-page-when-downloaded branch February 24, 2023 13:06
@schroda
Copy link
Collaborator

schroda commented May 28, 2023

fixes #528

@AriaMoradi
Copy link
Member

More like fix-ed we won't close that one as we'll won't have a future stable release of Tachidesk in a few months

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants