Skip to Content

How to Override the existing attribute in advance search backoffice

backoffice.pngI want to add 'Time created' attribute to backoffice advanced search(oreder type) as a default field, so I did following changes. Working fine but in the drop down it's showing duplicate time created attribute. So please help me to remove ootb attribute.

<context merge-by="type" parent="AbstractOrder" type="Order" component="advanced-search">
<advanced-search:advanced-search xmlns:advanced-search="http://www.hybris.com/cockpitng/config/advancedsearch">
<advanced-search:field-list>
<advanced-search:field xmlns="http://www.hybris.com/cockpitng/config/advancedsearch" name="creationTime" selected="false" merge-mode="REMOVE"/>
<advanced-search:field xmlns="http://www.hybris.com/cockpitng/config/advancedsearch" name="creationTime" selected="true" operator="greater" />
</advanced-search:field-list>
</advanced-search:advanced-search>
</context>
backoffice.png (11.1 kB)
Add a comment
10|10000 characters needed characters exceeded

Related questions

1 Answer

  • Posted on Oct 30 at 03:26 PM

    Did you try merge-mode="replace" ?

    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.