Search form changes for sites and assets Admin search rail not applied to search at global level | Community
Skip to main content
Love_Sharma
Level 4
April 9, 2020
Solved

Search form changes for sites and assets Admin search rail not applied to search at global level

  • April 9, 2020
  • 1 reply
  • 1300 views

Hi all,

 

I did configuration of few predicate to Sites Admin Search Rail and Assets Admin Search Rail. Changes work fine when I am under Location:Assets or Location:Sites in search bar. But these changes are not picked when searching at global level (If I remove Location:Sites or Location:Assets and then search for any page or asset, search form changes are not picked).

 

I think it is default behaviour of AEM. Only option I see is to customize omni search. Please reply in case faced such scenario or did customization to omni search.

 

Thanks

 

 

This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.
Best answer by vanegi

Yes, it is an expected behavior and working as per design. You can overlay the /libs/granite/ui/components/shell/clientlibs/shell/js/omnisearch.js  and customized this javascript file for adjusting pathPredicate.value.

1 reply

vanegi
Adobe Employee
vanegiAdobe EmployeeAccepted solution
Adobe Employee
July 16, 2020

Yes, it is an expected behavior and working as per design. You can overlay the /libs/granite/ui/components/shell/clientlibs/shell/js/omnisearch.js  and customized this javascript file for adjusting pathPredicate.value.