Skip to content

Commit

Permalink
Fix for Paging Evaluation - hasMoreResults
Browse files Browse the repository at this point in the history
  • Loading branch information
boredom2 committed Aug 6, 2021
1 parent fb52d22 commit e9bb364
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/result/paging.php
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ public function getTotalSize():int{
}

public function hasMoreResults():bool{
return($this->getSize()<$this->getTotalSize());
return($this->getStart()+$this->getSize()<$this->getTotalSize());
}

}

0 comments on commit e9bb364

Please sign in to comment.