[polari/wip/fmuellner/combined-gsoc: 17/136] logmanager: add uri constant



commit 8a227b0d2c40c65abc35707bb251c7774d70091d
Author: Kunaal Jain <kunaalus gmail com>
Date:   Sat Jun 11 00:18:42 2016 +0530

    logmanager: add uri constant

 src/logManager.js |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)
---
diff --git a/src/logManager.js b/src/logManager.js
index 0f0c80d..6c0c48a 100644
--- a/src/logManager.js
+++ b/src/logManager.js
@@ -103,6 +103,7 @@ const GenericQuery = new Lang.Class({
     _getColumnsValue: function(cursor, col) {
         switch(cursor.get_value_type(col)) {
             case Tracker.SparqlValueType.STRING:
+            case Tracker.SparqlValueType.URI:
                 return cursor.get_string(col)[0];
             case Tracker.SparqlValueType.INTEGER:
                 return cursor.get_integer(col);


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