From 824fca8cd0913a4f1603cdedd046c420840a3e65 Mon Sep 17 00:00:00 2001 From: jacqueline Date: Tue, 31 Dec 2024 12:34:04 +1100 Subject: [PATCH] Reorder indexes It turns out the index *id* controls this, which is probably not good! --- src/tangara/database/index.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/tangara/database/index.cpp b/src/tangara/database/index.cpp index b3af716b..e60f56d5 100644 --- a/src/tangara/database/index.cpp +++ b/src/tangara/database/index.cpp @@ -57,21 +57,21 @@ const IndexInfo kAllAlbums{ }; const IndexInfo kAllArtists{ - .id = 7, + .id = 5, .type = MediaType::kMusic, .name = "All Artists", .components = {Tag::kAllArtists, Tag::kTitle}, }; const IndexInfo kPodcasts{ - .id = 5, + .id = 6, .type = MediaType::kPodcast, .name = "Podcasts", .components = {Tag::kAlbum, Tag::kTitle}, }; const IndexInfo kAudiobooks{ - .id = 6, + .id = 7, .type = MediaType::kAudiobook, .name = "Audiobooks", .components = {Tag::kAlbum, Tag::kAlbumOrder},