lnreader icon indicating copy to clipboard operation
lnreader copied to clipboard

Weird logic of numeration for chapters with certain conditions

Open Palloxin opened this issue 2 years ago • 0 comments

Steps to reproduce

  1. Find a novel with a source that doesnt provide the numeration of chapters like this novel IMG_20231001_163627
  2. Switch to "chapter number"
  3. Find a chapter who has a number in the title

https://github.com/LNReader/lnreader/assets/75091899/db8dc489-9b2c-4f38-8373-cc1fd71d0198

Expected behavior

The chapters with a number in the title should have Chapter -1 too AND the number is incorrect since it is merely taken from the title due to a bug.

Actual behavior

chapters of entries of sources that dont provide numeration of chapters with (for example) the title "The 8 wonders of Gugu" (so a number in it) are numerated as Chapter 8.

LNReader version

1.1.17

Android version

Android 8

Device

Huawei p8 lite 2017

Other details

No response

Acknowledgements

  • [X] I have searched the existing issues and this is a new ticket, NOT a duplicate or related to another open or closed issue.
  • [X] I have written a short but informative title.
  • [X] If this is an issue with a source, I should be opening an issue in the sources repository.
  • [X] I have updated the app to version 1.1.17.
  • [X] I will fill out all of the requested information in this form.

Palloxin avatar Oct 01 '23 16:10 Palloxin