Override Global Search's category title
Is there any easy way to override the category title that is shown for the resource in the global search results?
Solution:Jump to solution
I think that comes from the Resource's
getPluralModelLabel()
:
https://github.com/filamentphp/filament/blob/7713dc2703c29ccd824cc04a48b3b95c6081898e/packages/panels/src/GlobalSearch/DefaultGlobalSearchProvider.php#L24...GitHub
filament/packages/panels/src/GlobalSearch/DefaultGlobalSearchProvid...
A collection of beautiful full-stack components for Laravel. The perfect starting point for your next app. Using Livewire, Alpine.js and Tailwind CSS. - filamentphp/filament
3 Replies
Solution
I think that comes from the Resource's
getPluralModelLabel()
:
https://github.com/filamentphp/filament/blob/7713dc2703c29ccd824cc04a48b3b95c6081898e/packages/panels/src/GlobalSearch/DefaultGlobalSearchProvider.php#L24GitHub
filament/packages/panels/src/GlobalSearch/DefaultGlobalSearchProvid...
A collection of beautiful full-stack components for Laravel. The perfect starting point for your next app. Using Livewire, Alpine.js and Tailwind CSS. - filamentphp/filament
... which is used in many other places besides search results
Perfect! thanks buddy