mirror of
https://github.com/shlinkio/shlink.git
synced 2024-11-24 05:38:06 +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')
|
||||
->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
|
||||
->setMaxResults($limit ?? PHP_INT_MAX)
|
||||
->setFirstResult($offset ?? 0);
|
||||
|
|
Loading…
Reference in a new issue