F
Filamentβ€’2y ago
binaryruel

Default pagination to "All"

How do I do this?
4 Replies
Dan Harrin
Dan Harrinβ€’2y ago
Override getDefaultTableRecordsPerPageSelectOption() to return all on the list page
binaryruel
binaryruelOPβ€’2y ago
protected function getDefaultTableRecordsPerPageSelectOption(): int
{
return ?;
}
protected function getDefaultTableRecordsPerPageSelectOption(): int
{
return ?;
}
the return type is int oh? -1?
Dan Harrin
Dan Harrinβ€’2y ago
hm maybe did that work?
binaryruel
binaryruelOPβ€’2y ago
This is solved. πŸ™‚ Thanks Dan! Yes it's -1
Want results from more Discord servers?
Add your server