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

Issues with negative numbering (e.g. #-1) are shown and sorted incorrectly #1750

Open
6 tasks done
Vermoot opened this issue Feb 19, 2025 · 2 comments
Open
6 tasks done
Labels
Bug Something isn't working

Comments

@Vermoot
Copy link

Vermoot commented Feb 19, 2025

Steps to reproduce

I have issues in my Komga library that are tagged (with ComicInfo.xml metadata) as issue #-1 (see here), and they appear correctly as #-1 in Komga but not in Mihon, where they appear (and are sorted) as #1

See screenshots below:

Komga:
Image

Mihon:
Image

Expected behavior

The issue list should be

#-1
#0
#1
#2

Actual behavior

The issue list is

#0
#1
#1 (Which is actually #-1)
#2

Crash logs

No response

Mihon version

0.17.1

Android version

Android 15

Device

Poco Pad

Other details

No response

Acknowledgements

  • I have searched the existing issues and this is a new ticket, NOT a duplicate or related to another open or closed issue.
  • I have written a short but informative title.
  • I have gone through the FAQ and troubleshooting guide.
  • I have updated the app to version 0.17.1.
  • I have updated all installed extensions.
  • I will fill out all of the requested information in this form.
@Vermoot Vermoot added the Bug Something isn't working label Feb 19, 2025
@Animeboynz
Copy link
Contributor

Have you already tried all the chapter sort options?

Image

@Vermoot
Copy link
Author

Vermoot commented Feb 19, 2025

Using ⬆️ By source does actually show them in the right order, though issue -1 is still listed as 1.
Sorting by chapter number should work correctly though, since the metadata is correctly set as issue -1.
I guess Mihon just doesn't parse the - as it should?

@Vermoot Vermoot closed this as completed Feb 19, 2025
@Vermoot Vermoot reopened this Feb 19, 2025
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

No branches or pull requests

2 participants