filament/filament
v3.2.110
v11.22.0
v3.5.6
PHP 8.3.7
When using global search in SPA mode with multi-tenancy after switching to a different tenant, the results are displayed from a previous tenant. I believe that global search component is not reloaded and still uses initial tenant scope.
In this video I am on Team 1
tenant. I type post
in global search and observe This post is on Team 1
record. After switching to tenant Team 2
I type post
in global search and still observe This post is on Team 1
record.
I expected search to work the same as it does in non SPA mode. Switching tenant and using global search should correctly scope the query to new tenant.
This is how it works in non SPA mode.
composer install
php artisan migrate --seed
/
route with the credentials: email - test@example.com
, password - password
post
in the global search barThis post is on Team 1
is visibleTeam 2
post
in the global search barThis post is on Team 1
is still visiblehttps://github.com/Plytas/filament-spa-search
No response
Pay now to fund the work behind this issue.
Get updates on progress being made.
Maintainer is rewarded once the issue is completed.
You're funding impactful open source efforts
You want to contribute to this effort
You want to get funding like this too