Open Sprunkas opened 4 months ago
I experience something very similar:
I then have to "fix" it by manually appending GET parameters to disable the filter.
I started to investigate the problem and it seems that after pressing "View Action" the query with the selected filter is run over and over. In this way it creates an infinite loop.
https://github.com/filamentphp/filament/assets/10696975/fd313a35-c4eb-410e-9060-25c87e96570e
I will be still looking into the issue.
Package
filament/filament
Package Version
v3.2.72.0
Laravel Version
v11.5.0
Livewire Version
v3.4.11
PHP Version
PHP 8.3.4
Problem description
When clicking second time "View" in "Products" menu table after QueryBuilder filter is applied I get "Allowed memory size of 134217728 bytes exhausted (tried to allocate 20480 bytes)". Even tried to increase memory limit to 2 GB, execution time to 10 min., but still didn't helped.
Expected behavior
It should open modal just like it opens first time, without a lot of memory consumption and etc.
Steps to reproduce
Tables\Actions\ViewAction::make()
, in ProductResource table method inside actions([])Reproduction repository
https://github.com/Sprunkas/filament-demo
Relevant log output
No response
Donate 💰 to fund this issue