[banshee/1.5.1-fixes: 56/56] Fix bug in generating the ArtistNameSortKey
- From: Gabriel Burt <gburt src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [banshee/1.5.1-fixes: 56/56] Fix bug in generating the ArtistNameSortKey
- Date: Mon, 22 Mar 2010 18:08:46 +0000 (UTC)
commit d3cd602d39a2697295bb13c7cdd131dd259b8e66
Author: Gabriel Burt <gabriel burt gmail com>
Date: Wed Jan 27 11:25:26 2010 -0800
Fix bug in generating the ArtistNameSortKey
It wasn't using the ArtistNameSort field at all, which it should prefer
if it exists.
.../Banshee.Database/SortKeyUpdater.cs | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/src/Core/Banshee.Services/Banshee.Database/SortKeyUpdater.cs b/src/Core/Banshee.Services/Banshee.Database/SortKeyUpdater.cs
index 09a4358..fb2b8be 100644
--- a/src/Core/Banshee.Services/Banshee.Database/SortKeyUpdater.cs
+++ b/src/Core/Banshee.Services/Banshee.Database/SortKeyUpdater.cs
@@ -59,7 +59,7 @@ namespace Banshee.Database
UPDATE CoreAlbums SET
TitleSortKey = HYENA_COLLATION_KEY(COALESCE(TitleSort, Title, ?)),
- ArtistNameSortKey = HYENA_COLLATION_KEY(COALESCE(ArtistName, ?)),
+ ArtistNameSortKey = HYENA_COLLATION_KEY(COALESCE(ArtistNameSort, ArtistName, ?)),
TitleLowered = HYENA_SEARCH_KEY(COALESCE(Title, ?)),
ArtistNameLowered = HYENA_SEARCH_KEY(COALESCE(ArtistName, ?));
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]