ยฉ 2026 Hedgehog Software, LLC
Twitter
GitHub
Discord
System
Light
Dark
More
Communities
Docs
About
Terms
Privacy
Search
Star
Feedback
Setup for Free
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 admin panels & apps fast with Livewire
20,307
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
12mo ago
Filament V3 ListRecords Header Action refresh
F
Filament / โโhelp
3mo ago
Filament Table tab
F
Filament / โโhelp
2y ago
Filament shield and filament resources
F
Filament / โโhelp
3y ago