Closed mattyforth closed 4 months ago
Your class ListPendingCases
should extend Resource
, not ListRecords
.
It should actually extend Page, this isn't a resource @alexmanase
Make a page with make:filament-page
and then add a table using https://filamentphp.com/docs/3.x/tables/adding-a-table-to-a-livewire-component
Package
filament/filament
Package Version
v3.2.63
Laravel Version
v11.2.0
Livewire Version
v3.4.10
PHP Version
8.3.0
Problem description
Hello!
I have a custom cluster called
LegalCase
, and within that cluster I have aCaseResource
with the regular pages, list, view etc.My
LegalCase
model has a status and can be pending, and I have created a custom page to just show the pending cases by modifying the query.The page itself works fine when I navigate manually to the route I've defined, however it won't show up in the LegalCase cluster navigation, which according to the docs, I'm certain it should?
Expected behavior
The page should be visible in the clusters sub navigation menu.
Steps to reproduce
php artisan serve
/admin/legal-case/cases/pending
page manually and see that the page is working (you should see a "pending" description on the table)app/Filament/Clusters/LegalCase/Resources/CaseResource/Pages/ListPendingCases.php
to verify that$cluster
is set toLegalCase::class
Reproduction repository
https://github.com/mattyforth/filament-cluster-navigation-issue
Relevant log output
No response