Skip to content

Pages do not retain their page number when imported. #2549

@mcpierce

Description

@mcpierce

Describe The Bug
When importing a comic, the pages are not being sorted. Instead they maintain their order from the file, which may be incorrect.

To Reproduce The Bug
Steps to reproduce the behavior. Please be as complete as possible and describe the exact steps and values used to cause the error:

  1. Import a comic file that has unsorted pages.
  2. Go to the comic's details page.
  3. The cover is not shown, instead the first page image is shown.

Expected Behavior

  1. Pages should be sorted by filename.
  2. The first page should be the one shown.

Operating System
Where is ComiXed running?

  • Windows
  • Linux (any distro)
  • MacOS
  • Docker (if checked, please select the host OS as well)

Database
What database is ComiXed using?

  • Postgres
  • MySQL/MariahDB
  • H2 (embedded, generally unsupported)
  • Other (please provide the name in the bug description)

Screenshots

Image

Metadata

Metadata

Assignees

Labels

bugSomething isn't workingimportingIssues related to importing comicspageIssues relating to comic pages

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions