File tree Expand file tree Collapse file tree 1 file changed +3
-2
lines changed Expand file tree Collapse file tree 1 file changed +3
-2
lines changed Original file line number Diff line number Diff line change @@ -633,7 +633,7 @@ WOQLQuery.prototype.documentProperties = function(id){
633
633
634
634
WOQLQuery . prototype . getDocumentConnections = function ( id ) {
635
635
return this . and (
636
- this . or (
636
+ WOQL . or (
637
637
WOQL . triple ( id , "v:Outgoing" , "v:Entid" ) ,
638
638
WOQL . triple ( "v:Entid" , "v:Incoming" , id )
639
639
) ,
@@ -718,9 +718,10 @@ WOQLQuery.prototype.isPaged = function(q){
718
718
for ( const prop of Object . keys ( q ) ) {
719
719
if ( prop == "limit" ) return true ;
720
720
else if ( this . paging_transitive_properties . indexOf ( prop ) !== - 1 ) {
721
- return this . isPaged ( q [ prop ] [ q [ prop ] . length - 1 ] )
721
+ return this . isPaged ( q [ prop ] [ q [ prop ] . length - 1 ] ) ;
722
722
}
723
723
}
724
+ return false ;
724
725
}
725
726
726
727
WOQLQuery . prototype . getPage = function ( ) {
You can’t perform that action at this time.
0 commit comments