[tracker] tracker-needle: Don't list emails as "Documents"



commit 016e2dd5d9064c72b2db29340ad029d5b66b0a7b
Author: Martyn Russell <martyn lanedo com>
Date:   Mon Feb 10 13:07:47 2014 +0000

    tracker-needle: Don't list emails as "Documents"
    
    https://bugzilla.gnome.org/show_bug.cgi?id=696099

 src/tracker-needle/tracker-query.vala |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)
---
diff --git a/src/tracker-needle/tracker-query.vala b/src/tracker-needle/tracker-query.vala
index 77d7823..475e2fd 100644
--- a/src/tracker-needle/tracker-query.vala
+++ b/src/tracker-needle/tracker-query.vala
@@ -135,6 +135,7 @@ public class Tracker.Query {
                    ?urn nco:publisher ?match
                  } UNION {
                    ?urn a nfo:Document .
+                   FILTER (! EXISTS { ?urn a nmo:Email } )
                    ?match a nfo:Document
                    FILTER (?urn = ?match)
                  }


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]