rasmuslos / ShelfPlayer

Native Audiobookshelf player for iOS & iPadOS
Other
148 stars 15 forks source link

[Feature Request] separate sort based on view and add sort options in each view #36

Closed gh0sti closed 4 months ago

gh0sti commented 5 months ago

I noticed that in an author view or in library view if you set ascending sort all views will sort the same. Is there a way we can have separate sort for each view?

Author page should also get the sort button option in the top right corner.

image

image

gh0sti commented 5 months ago

Example: I want my series page to sort by ascending and my library page to sort by descending and to keep those sort options when I view those pages.

rasmuslos commented 5 months ago

Any selection (filter & ascending) you make in the series view does not update the global filter settings. And I think it is fine to have the same filter for authors and the library, although the other view could default to released & ascending without updating the global filter, too

Author page should also get the sort button option in the top right corner.

You mean the page that lists all authors?

gh0sti commented 5 months ago

Any selection (filter & ascending) you make in the series view does not update the global filter settings. And I think it is fine to have the same filter for authors and the library, although the other view could default to released & ascending without updating the global filter, too

Author page should also get the sort button option in the top right corner.

You mean the page that lists all authors?

I think I was thinking that you could reverse the sort for Author have Z-A instead of A-Z by default. Also for Ascending, when Ascending is toggled it should sort A-Z and 0-9, etc if you Select it Library view sorts Z-A for author instead of A-Z "Answer: In general terms, Ascending means smallest to largest, 0 to 9, and/or A to Z and Descending means largest to smallest, 9 to 0, and/or Z to A."

I would investigate the logic of how you sort based on Ascending. https://kb.blackbaud.com/knowledgebase/Article/117098#:~:text=Answer%3A,and%2For%20Z%20to%20A.

rasmuslos commented 4 months ago

The problem is, that is made a mistake in the sorting logic, should be an easy fix