Compare commits
2 Commits
fed7d2e302
...
756474d460
Author | SHA1 | Date | |
---|---|---|---|
|
756474d460 | ||
|
d297fd9e86 |
@ -259,6 +259,11 @@ class QueryBuilder implements Query\QueryBuilderInterface
|
|||||||
if ( null === $offset = $this->getFragment(Query\Offset::class) ) {
|
if ( null === $offset = $this->getFragment(Query\Offset::class) ) {
|
||||||
$offset = new Query\Offset();
|
$offset = new Query\Offset();
|
||||||
$this->push($offset);
|
$this->push($offset);
|
||||||
|
|
||||||
|
# A limit is required to match an offset
|
||||||
|
if ( null === $limit = $this->getFragment(Query\Limit::class) ) {
|
||||||
|
$this->limit(\PHP_INT_MAX);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
$offset->set($value);
|
$offset->set($value);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user