mirror of
https://github.com/filamentphp/filament.git
synced 2026-09-24 15:42:09 +08:00
Merge branch '3.x' into 4.x
This commit is contained in:
@@ -154,8 +154,8 @@ trait CanExportRecords
|
||||
|
||||
$totalRows = $records ? $records->count() : $query->toBase()->getCountForPagination();
|
||||
|
||||
if ((! $records) && $query->getLimit()) {
|
||||
$totalRows = min($totalRows, $query->getLimit());
|
||||
if ((! $records) && $query->getQuery()->limit) {
|
||||
$totalRows = min($totalRows, $query->getQuery()->limit);
|
||||
}
|
||||
|
||||
$maxRows = $action->getMaxRows() ?? $totalRows;
|
||||
|
||||
Reference in New Issue
Block a user