mirror of
https://github.com/shlinkio/shlink.git
synced 2025-02-17 15:59:56 +03:00
Fixed typo
This commit is contained in:
parent
d00a56bec0
commit
2b0567b368
1 changed files with 1 additions and 1 deletions
|
@ -204,7 +204,7 @@ class VisitRepository extends EntitySpecificationRepository implements VisitRepo
|
||||||
|
|
||||||
$qb->select('v.id')
|
$qb->select('v.id')
|
||||||
->orderBy('v.id', 'DESC')
|
->orderBy('v.id', 'DESC')
|
||||||
// Falling back to values that will behave as no limit/offset, but will workaround MS SQL not allowing
|
// Falling back to values that will behave as no limit/offset, but will work around MS SQL not allowing
|
||||||
// order on sub-queries without offset
|
// order on sub-queries without offset
|
||||||
->setMaxResults($limit ?? PHP_INT_MAX)
|
->setMaxResults($limit ?? PHP_INT_MAX)
|
||||||
->setFirstResult($offset ?? 0);
|
->setFirstResult($offset ?? 0);
|
||||||
|
|
Loading…
Add table
Reference in a new issue