mirror of
https://github.com/YGGverse/YGGtracker.git
synced 2026-04-02 10:05:33 +00:00
fix offset/limit
This commit is contained in:
parent
33e950bb42
commit
d3cdbc831c
1 changed files with 8 additions and 8 deletions
|
|
@ -26,8 +26,8 @@ class TorrentRepository extends ServiceEntityRepository
|
|||
array $locales,
|
||||
?bool $sensitive = null,
|
||||
?bool $approved = null,
|
||||
int $limit = 0,
|
||||
int $offset = 10
|
||||
int $limit = 10,
|
||||
int $offset = 0
|
||||
): int
|
||||
{
|
||||
return $this->getTorrentsQueryByFilter(
|
||||
|
|
@ -45,8 +45,8 @@ class TorrentRepository extends ServiceEntityRepository
|
|||
array $locales,
|
||||
?bool $sensitive = null,
|
||||
?bool $approved = null,
|
||||
int $limit = 0,
|
||||
int $offset = 10
|
||||
int $limit = 10,
|
||||
int $offset = 0
|
||||
): array
|
||||
{
|
||||
return $this->getTorrentsQueryByFilter(
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue