Removed "All" page length option for log tables, as this easily causes an out of memory situation on the server

You can easily have thousands of log entries, making it impossible to view them all at once.

This fixes #835
This commit is contained in:
Jan Böhmer 2025-02-01 23:42:19 +01:00
parent edd254ee06
commit 3247a97217
3 changed files with 8 additions and 2 deletions

View file

@ -57,6 +57,8 @@ use Symfony\Contracts\Translation\TranslatorInterface;
final class PartsDataTable implements DataTableTypeInterface
{
const LENGTH_MENU = [[10, 25, 50, 100, -1], [10, 25, 50, 100, "All"]];
public function __construct(
private readonly EntityURLGenerator $urlGenerator,
private readonly TranslatorInterface $translator,