Kareadita / Kavita

Kavita is a fast, feature rich, cross platform reading server. Built with the goal of being a full solution for all your reading needs. Setup your own server and share your reading collection with your friends and family.
http://www.kavitareader.com
GNU General Public License v3.0
6.29k stars 327 forks source link

Comic Issue #0 Not In Issues Tab #1454

Closed maniccomputer closed 2 years ago

maniccomputer commented 2 years ago

Describe the bug When a comic volume includes an issue #0, the comic is not included in the Issues tab. It is included in the volume for the Storyline and Volumes tab. The issue does not show in the Specials tab, though likely expected behavior. If the metadata for Format is changed to "Special" the issue will show in the Specials tab and not in the Storyline or Issues tab (again likely expected behavior).

To Reproduce Steps to reproduce the behavior:

  1. Go to any comic that includes an issue 0.
  2. Click on the Storyline tab or Issues tab.
  3. Tap the '...' and then the Info button.
  4. See issue 0 in the list.
  5. Click on the Issues tab.
  6. Scroll through issues and issue 0 will not be present.

Expected behavior Issue #0 should show in the Issues tab if format is not marked as "Special" in the metadata.

Screenshots If applicable, add screenshots to help explain your problem.

File structure: image

Metadata (none): image

Storyline tab: image

Volumes tab: image

Issues tab (no issue 0): image

Specials tab (no issue 0): image

Desktop (please complete the following information):

Additional context Ideally Issue #0 would not be the first issue in a Volume or Storyline if the date of that issue is not first. This also creates a slight conflict with cover art for the issue being that of the cover for issue 0 instead of the 1st issue in the series. This seems more like a feature request than a bug. It is also possible that issue 0 should automatically be considered a special without needing the "sp" tag in the file name or "special" format in the metadata.

maniccomputer commented 2 years ago

Workaround for this issue is add the Format metadata tag "Special". This ensures the issue is available at least in the Specials tab.

Screenshots AFTER updating metadata

Updated metadata: image

Volumes (Issue 0 no longer in the Info section and you can see the cover was removed): image

Specials (Issue 0 added to Specials tab): image

majora2007 commented 2 years ago

Issue #0 or Volume #0 is not supported in Kavita. This is a special number reserved for Specials. An oversight in development due to lack of understanding in the Comic scene and too ingrained to change. You can use 0.1 as a workaround.