Skip to content

Commit d56a385

Browse files
fixed bug with woql query not expecting a triplebuilder
1 parent b944244 commit d56a385

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

lib/woqlResult.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,7 @@ WOQLResult.prototype.compress = function(context){
2828
this.bindings[i][nprop] = nval;
2929
}
3030
}
31+
return this;
3132
}
3233

3334
WOQLResult.prototype.first = function(){
@@ -67,11 +68,11 @@ WOQLResult.prototype.compareValues = function(a, b, asc_or_desc){
6768
}
6869
}
6970

70-
7171
WOQLResult.prototype.sort = function(key, asc_or_desc){
7272
this.bindings.sort((a, b) => {
7373
return this.compareValues(a[key], b[key], asc_or_desc);
7474
});
75+
this;
7576
}
7677

7778
WOQLResult.prototype.getVariableList = function(){

0 commit comments

Comments
 (0)