Repository: marmotta
Updated Branches:
  refs/heads/develop a1cd1e24a -> 3dfd892f4


fixed default sgvizler query


Project: http://git-wip-us.apache.org/repos/asf/marmotta/repo
Commit: http://git-wip-us.apache.org/repos/asf/marmotta/commit/3dfd892f
Tree: http://git-wip-us.apache.org/repos/asf/marmotta/tree/3dfd892f
Diff: http://git-wip-us.apache.org/repos/asf/marmotta/diff/3dfd892f

Branch: refs/heads/develop
Commit: 3dfd892f4b48e94bb9db63854f1eb0ec720390b3
Parents: a1cd1e2
Author: Sergio Fernández <wik...@apache.org>
Authored: Wed Sep 21 12:22:45 2016 +0200
Committer: Sergio Fernández <wik...@apache.org>
Committed: Wed Sep 21 12:22:45 2016 +0200

----------------------------------------------------------------------
 .../marmotta-sparql/src/main/resources/web/admin/sgvizler.html   | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/marmotta/blob/3dfd892f/platform/marmotta-sparql/src/main/resources/web/admin/sgvizler.html
----------------------------------------------------------------------
diff --git 
a/platform/marmotta-sparql/src/main/resources/web/admin/sgvizler.html 
b/platform/marmotta-sparql/src/main/resources/web/admin/sgvizler.html
index f897b8e..4d9d349 100644
--- a/platform/marmotta-sparql/src/main/resources/web/admin/sgvizler.html
+++ b/platform/marmotta-sparql/src/main/resources/web/admin/sgvizler.html
@@ -55,13 +55,13 @@
             }
 
             // preselect default query and chart
-            $("#sgQuery").val("SELECT ?class (count(?instance) AS 
?noOfInstances)\nWHERE { ?instance a ?class }\nGROUP BY ?class\nORDER BY 
?class");
+            $("#sgQuery").val("SELECT ?class (count(?instance) AS 
?noOfInstances)\nWHERE { ?instance a ?class }\nGROUP BY ?class\nORDER BY 
?noOfInstances");
             select.val("google.visualization.PieChart");
 
             // use codemirror for the SPARQL editor
             var editor = 
CodeMirror.fromTextArea(document.getElementById("sgQuery"), {
                 mode: 'sparql',
-                value: "SELECT ?class (count(?instance) AS 
?noOfInstances)\nWHERE { ?instance a ?class }\nGROUP BY ?class\nORDER BY 
?class",
+                value: "SELECT ?class (count(?instance) AS 
?noOfInstances)\nWHERE { ?instance a ?class }\nGROUP BY ?class\nORDER BY 
?noOfInstances",
                 extraKeys: {"Ctrl-Space": "sparqlAutocomplete"},
                 matchBrackets : true,
                 lineNumbers: true,

Reply via email to