[tracker-miners/wip/carlosg/indexed-folder-ontology: 4/4] tracker: Update "tracker status" CLI to tracker:available changes



commit 01b9e74d3a945f8fbff5f0711dea8a5a5809fa13
Author: Carlos Garnacho <carlosg gnome org>
Date:   Sat Jun 6 17:21:13 2020 +0200

    tracker: Update "tracker status" CLI to tracker:available changes

 src/tracker/tracker-status.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/src/tracker/tracker-status.c b/src/tracker/tracker-status.c
index 65aa5d509..04f25b360 100644
--- a/src/tracker/tracker-status.c
+++ b/src/tracker/tracker-status.c
@@ -370,7 +370,7 @@ get_file_and_folder_count (int *files,
                        "\nSELECT COUNT(?file) "
                        "\nWHERE { "
                        "\n  ?file a nfo:FileDataObject ;"
-                       "\n        tracker:available true ."
+                       "\n        nie:dataSource/tracker:available true ."
                        "\n  FILTER (?file != nfo:Folder) "
                        "\n}";
 
@@ -397,7 +397,7 @@ get_file_and_folder_count (int *files,
                        "\nSELECT COUNT(?folders)"
                        "\nWHERE { "
                        "\n  ?folders a nfo:Folder ;"
-                       "\n           tracker:available true ."
+                       "\n           nie:dataSource/tracker:available true ."
                        "\n}";
 
                cursor = tracker_sparql_connection_query (connection, query, NULL, &error);


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