summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorjacqueline <me@jacqueline.id.au>2024-12-31 12:34:04 +1100
committerjacqueline <me@jacqueline.id.au>2024-12-31 12:34:04 +1100
commit824fca8cd0913a4f1603cdedd046c420840a3e65 (patch)
treeef0a56726d6a0f83c5345dbc58c7cf663e913a47
parent33e89a0672079bf30151a9353cb0fbf165afaae5 (diff)
downloadtangara-fw-824fca8cd0913a4f1603cdedd046c420840a3e65.tar.gz
Reorder indexes
It turns out the index *id* controls this, which is probably not good!
-rw-r--r--src/tangara/database/index.cpp6
1 files 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},