SimpleQueryPaginationAdapter: Fix getOffset interface
Breaks pagination further than page 2. fixes #1273
This commit is contained in:
parent
e5d996c492
commit
129be222c9
|
@ -56,7 +56,7 @@ class SimpleQueryPaginationAdapter implements Paginatable
|
||||||
|
|
||||||
public function getOffset()
|
public function getOffset()
|
||||||
{
|
{
|
||||||
return $this->query->hasOffset();
|
return $this->query->getOffset();
|
||||||
}
|
}
|
||||||
|
|
||||||
public function setOffset($offset)
|
public function setOffset($offset)
|
||||||
|
|
Loading…
Reference in New Issue