I am trying to 'reduce' a search scope using addterm :
<module name="HiddenSavedSearch" >
<param name="savedSearch">Available machines</param>
<module name="ExtendedFieldSearch">
<param name="intention">
<param name="name">addterm</param>
<param name="arg">
<param name="clustergroup">
<param name="default"></param>
</param>
</param>
<param name="flags">
<list>indexed</list>
</param>
</param>
</module>
</module>
The new 'term' is added to the end of the search 'Avaliable machines', is there a way to added a term to the begining of it, like a search filter ?
Ps: I am avoiding 'replace' and a placeholoder on the saved search because its also used without it.
Actually the
No. You will need to use the stringreplace intention to do this. You may be able to replace the placeholder with an empty string, depending on what input type you are using.
That empty string trick did it. Thanks!