cancel
Showing results for 
Search instead for 
Did you mean: 

Remove user and group suggestion in the search box suggestion

Benjamin_Jalon1
Elite Collaborator
Elite Collaborator

Hi,

I would like to remove the user and group suggestion in the search box on the top of Nuxeo.

Here Jogea and Administrator group :

alt text

1 REPLY 1

Benjamin_Jalon1
Elite Collaborator
Elite Collaborator

Hi me,

Here is the service that manages it and here is the default contribution.

You just have to override the default contribution for the searchbox group suggester and remove the user and group suggestion :

<component name="org.nuxeo.platform.customer.userandgroup.suggester.disabled">
  <require>org.nuxeo.ecm.platform.suggestbox.core.defaultSuggesters</require>
  <extension
    target="org.nuxeo.ecm.platform.suggestbox.service.SuggestionService"
    point="suggesterGroups">
    <suggesterGroup name="searchbox">
      <suggesters>
        <suggesterName remove="true">searchByUsersAndGroups</suggesterName>
      </suggesters>
    </suggesterGroup>
  </extension>
</component>