Album view sort by album name not artist name

This commit is contained in:
simojenki
2021-08-16 10:13:16 +10:00
parent db0351da39
commit c67f74bf08
6 changed files with 52 additions and 29 deletions

View File

@@ -99,7 +99,7 @@ export const asResult = <T>([results, total]: [T[], number]) => ({
export type ArtistQuery = Paging;
export type AlbumQueryType = 'alphabeticalByArtist' | 'byGenre' | 'random' | 'recent' | 'frequent' | 'newest' | 'starred';
export type AlbumQueryType = 'alphabeticalByArtist' | 'alphabeticalByName' | 'byGenre' | 'random' | 'recent' | 'frequent' | 'newest' | 'starred';
export type AlbumQuery = Paging & {
type: AlbumQueryType;

View File

@@ -632,7 +632,7 @@ function bindSmapiSoapServiceToExpress(
});
case "albums": {
return albums({
type: "alphabeticalByArtist",
type: "alphabeticalByName",
...paging,
});
}