-
Notifications
You must be signed in to change notification settings - Fork 1
Open
statamic/cms
#13108Description
Right now the control panel and the site return the same results. But this is not what I want.
For example in the cp I want to search for images which is not the case on my frontend.
On the frontent I want to search only in specified collections. In the cp I want to search all content, as I am an editor.
Is this already possible and did I just not have seen it?
I am thinking of something like this in config/statamic/search.php
'indexes' => [
'default' => [
'driver' => 'local',
'searchables' => ['collection:articles', 'collection:blog', 'collection:pages','collection:referenzen', 'collection:leistungen'],
'fields' => ['title','subheadline','navigation_title'],
],
'controlpanel' => [
'driver' => 'local',
'searchables' => 'all',
'fields' => ['title','subheadline','navigation_title'],
],
]
Metadata
Metadata
Assignees
Labels
No labels