tamland / airsonic-refix

Modern web UI for Subsonic compatible servers
GNU Affero General Public License v3.0
304 stars 48 forks source link

Sort albums chronologically in AlbumList on ArtistDetails #102

Closed sentriz closed 1 year ago

sentriz commented 1 year ago

it makes sense to me. wdyt?

Screen Shot 2023-07-24 at 17 35 33 Screen Shot 2023-07-24 at 17 37 04

tamland commented 1 year ago

Hi. It should already be sorted (reverse) chronologically here: https://github.com/tamland/airsonic-refix/blob/master/src/shared/api.ts#L428

sentriz commented 1 year ago

@tamland ah i see. how would you feel about making it just chronological then?

tamland commented 1 year ago

I think most recent first makes :) But not opposed to adding a subtle toggle or some more customizability i principle. Just haven't had the time to do much of that yet

sentriz commented 1 year ago

ok fair, then maybe i will close in favour of #88 - that said i think i would prefer to be able to change sort order in the UI and keep the settings in localStorage instead of env vars

tamland commented 1 year ago

I have added a sorting toggle now:)

sentriz commented 1 year ago

it works very nice :+1: thanks!