Skip to content

Conversation

@duncanmcclean
Copy link
Member

@duncanmcclean duncanmcclean commented Jan 22, 2026

By default, the Command Palette returns search results from all sites. This PR ensures that the site name is visible in result badges, allowing you to differentiate entries with the same title across your sites.

CleanShot 2026-01-22 at 18 16 14

If you would rather only see results from the selected site, you may override the cp index and specify the relevant sites.

  'cp' => [  
    'driver' => 'local',  
    'searchables' => ['content', 'users', 'addons'],  
    'fields' => ['title'],
+   'sites' => 'all',
  ],

Closes #13633

@duncanmcclean duncanmcclean changed the title [6.x [6.x] Command Palette: Display site in search result badge Jan 22, 2026
@jasonvarga jasonvarga merged commit f33d152 into master Jan 22, 2026
11 checks passed
@jasonvarga jasonvarga deleted the command-palette-site-badge branch January 22, 2026 19:47
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[6.x] Command palette entry results in multi-site doesn't show language

3 participants