Β© 2026 Hedgehog Software, LLC
Twitter
GitHub
Discord
System
Light
Dark
More
Communities
Docs
About
Terms
Privacy
Search
Star
Feedback
Setup for Free
'Filament\Resources\Pages\ListRecords\Tab' is deprecated - Filament
F
Filament
β’
3y ago
bdm-laravel
'Filament\Resources\Pages\ListRecords\Tab' is deprecated
Need alternative for Tab in filament
This is the code
public function getTabs
(
)
: array
{
return
[
'All
'
=
>
T
a
b
:
:make
(
)
,
'This Week
'
=
>
T
a
b
:
:make
(
)
-
>modifyQueryUsing
(fn
(Builder
$query
)
=
>
$query
-
>where
(
'date
_hired
'
,
'
>
=
'
, now
(
)
-
>subWeek
(
)
)
)
-
>badge
(
E
m
p
l
o
y
e
e
:
:query
(
)
-
>where
(
'date
_hired
'
,
'
>
=
'
, now
(
)
-
>subWeek
(
)
)
-
>count
(
)
)
,
'This Month
'
=
>
T
a
b
:
:make
(
)
-
>modifyQueryUsing
(fn
(Builder
$query
)
=
>
$query
-
>where
(
'date
_hired
'
,
'
>
=
'
, now
(
)
-
>subMonth
(
)
)
)
-
>badge
(
E
m
p
l
o
y
e
e
:
:query
(
)
-
>where
(
'date
_hired
'
,
'
>
=
'
, now
(
)
-
>subMonth
(
)
)
-
>count
(
)
)
,
'This Year
'
=
>
T
a
b
:
:make
(
)
-
>modifyQueryUsing
(fn
(Builder
$query
)
=
>
$query
-
>where
(
'date
_hired
'
,
'
>
=
'
, now
(
)
-
>subYear
(
)
)
)
-
>badge
(
E
m
p
l
o
y
e
e
:
:query
(
)
-
>where
(
'date
_hired
'
,
'
>
=
'
, now
(
)
-
>subYear
(
)
)
-
>count
(
)
)
,
]
;
}
Filament
Join
A powerful open-source UI framework for Laravel β’ Build and ship apps & admin panels fast with Livewire
20,181
Members
View on Discord
Resources
ModelContextProtocol
ModelContextProtocol
MCP Server
Similar Threads
Was this page helpful?
Yes
No
Recent Announcements
Similar Threads
Relation Manager in ListRecords Tab
F
Filament / ββhelp
13mo ago
Filament V3 ListRecords Header Action refresh
F
Filament / ββhelp
5mo ago
Filament Table tab
F
Filament / ββhelp
2y ago
Filament shield and filament resources
F
Filament / ββhelp
3y ago