[tracker] tracker-search: Display titles when listing albums
- From: Jürg Billeter <juergbi src gnome org>
- To: svn-commits-list gnome org
- Cc:
- Subject: [tracker] tracker-search: Display titles when listing albums
- Date: Thu, 28 Jan 2010 08:46:43 +0000 (UTC)
commit 2f4be16e77326c9022aaabef7b91ef1b40ab0c2c
Author: Jürg Billeter <j bitron ch>
Date: Thu Jan 28 09:41:08 2010 +0100
tracker-search: Display titles when listing albums
src/tracker-utils/tracker-search.c | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/src/tracker-utils/tracker-search.c b/src/tracker-utils/tracker-search.c
index 199a372..5ad68f8 100644
--- a/src/tracker-utils/tracker-search.c
+++ b/src/tracker-utils/tracker-search.c
@@ -518,7 +518,7 @@ get_music_albums (TrackerClient *client,
fts = get_fts_string (search_words, use_or_operator);
if (fts) {
- query = g_strdup_printf ("SELECT ?album nie:title (?title) COUNT(?song) "
+ query = g_strdup_printf ("SELECT ?album nie:title (?album) COUNT(?song) "
"AS songs "
"SUM(nmm:length (?length)) AS totallength "
"WHERE {"
@@ -533,7 +533,7 @@ get_music_albums (TrackerClient *client,
search_offset,
search_limit);
} else {
- query = g_strdup_printf ("SELECT ?album nie:title (?title) COUNT(?song) "
+ query = g_strdup_printf ("SELECT ?album nie:title (?album) COUNT(?song) "
"AS songs "
"SUM(nmm:length (?length)) AS totallength "
"WHERE {"
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]