Skip to Content
0
Oct 30, 2020 at 07:31 AM

How to Override the existing attribute in advance search backoffice

356 Views Last edit Oct 30, 2020 at 10:29 AM 2 rev

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>

Attachments

backoffice.png (11.1 kB)