Summarizer label

Is it possible to change the label of the "All Posts" in the summarizer? I understand its labeled Posts because it uses the Post model, but is it possible to use a model, and have a different label for this?
8 Replies
ritos123
ritos123OP9mo ago
that changes the label of a column
ritos123
ritos123OP9mo ago
my question is about the label of the "This page" and "All Posts" https://filamentphp.com/docs/3.x/tables/summaries#overview in the screenshot here you can see on the left
ritos123
ritos123OP9mo ago
i added pluralModelLabel to my table, but that only changes the model part i wonder if changing the entire "All Models" is possible , not just the models name the solution would be to change the vendor file i think
LeandroFerreira
LeandroFerreira9mo ago
php artisan vendor:publish --tag=filament-tables-translations lang/vendor/filament-tables/en/table.php
...
'summary' => [

'heading' => 'Summary',

'subheadings' => [
'all' => 'All :label',
'group' => ':group summary',
'page' => 'This page',
]
...
...
'summary' => [

'heading' => 'Summary',

'subheadings' => [
'all' => 'All :label',
'group' => ':group summary',
'page' => 'This page',
]
...
ritos123
ritos123OP9mo ago
Would there be another possibility than to change the vendor file?
LeandroFerreira
LeandroFerreira9mo ago
there isn't, I guess
ritos123
ritos123OP9mo ago
Alright thanks, ill just use the pluralModelLabel for now
Want results from more Discord servers?
Add your server