Skip to content

Commit

Permalink
updated: fixed a facets bug
Browse files Browse the repository at this point in the history
  • Loading branch information
ali1k committed Aug 18, 2016
1 parent 16d7840 commit 56f4029
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "linked-data-reactor",
"version": "0.5.2",
"version": "0.5.3",
"description": "Linked Data Reactor",
"private": false,
"repository": {
Expand Down Expand Up @@ -68,7 +68,7 @@
"chai": "^3.5.0",
"coveralls": "^2.11.12",
"es6-promise": "^3.2.1",
"eslint": "~3.2.2",
"eslint": "~3.3.1",
"eslint-plugin-babel": "^3.3.0",
"eslint-plugin-react": "^6.0.0",
"istanbul": "^0.4.4",
Expand Down
2 changes: 1 addition & 1 deletion services/facet.js
Original file line number Diff line number Diff line change
Expand Up @@ -139,7 +139,7 @@ export default {
}else{
query = queryObject.countSecondLevelPropertyValues(cGraphName, rftconfig, decodeURIComponent(params.selection.propertyURI), params.selection.prevSelection);
}
// console.log(query);
//console.log(query);
//build http uri
//send request
rp.get({uri: getHTTPQuery('read', query, endpointParameters, outputFormat)}).then(function(res){
Expand Down
2 changes: 1 addition & 1 deletion services/sparql/FacetQuery.js
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,7 @@ class FacetQuery{
st = st + ' FILTER (' + filters.join(' && ') + ') ';
if(!filters.length){
//no constrain is selected
st = '?s rdf:type ?o .';
st = '?s rdf:type ?type .';
}

//---to support resource focus types
Expand Down

0 comments on commit 56f4029

Please sign in to comment.