klutter
klutter copied to clipboard
Sort order not alphabetic
Issue description
The comics in my Klutter app are not sorted alphabetically but seem to be sorted by updated date, even though the Komga web interface sorts them correctly.
Steps to reproduce the behavior
- Open the Klutter app
- Open a library
- In the browse tab, comics are not sorted correctly
Expected result
Comics are sorted alphabetically.
Actual result
Comics seem to be sorted by recently updated.
Additional information
- Klutter version: 0.7.0
- Operating system: Ipad OS 16.1.1
- Device: iPad pro 11" 2018
- Komga version: 0.157.5
I've looked at the Komga REST API and it looks like this is caused by the default sorting setting for series being set to date added. I'm not sure whether this is a bug or is intended behaviour in Komga, but it seems odd either way.
It could potentially be fixed in Klutter by adding a sort to the API call as such: /api/v1/series?sort=name, but I think this should be changed in Komga instead.
That's interesting. Consider asking gotson in the komga discord, but it might be that sorting it via the API call is better.
I created an issue in the Komga repository earlier where someone did mention the default sort was changed due to a technical reason and it should be sorted in the apps. But I'm hoping Gotson might chime in there as well.
Gotson has indicated that they will not fix it and that it’s up to the apps to use the sort param in the api.