This commit is contained in:
James Cole
2025-08-30 07:51:28 +02:00
parent 6eb8d0fc8c
commit 8846ee9091
8 changed files with 163 additions and 28 deletions

View File

@@ -861,8 +861,8 @@ class GroupCollector implements GroupCollectorInterface
return new LengthAwarePaginator($set, $this->total, $total, 1);
}
return new LengthAwarePaginator($set, $this->total, $this->limit, $this->page);
$limit= $this->limit ?? 1;
return new LengthAwarePaginator($set, $this->total, $limit, $this->page);
}
/**