10-30-2020 7:31 AM - edited 02-03-2024 7:06 PM
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>
Did you try merge-mode="replace" ?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
2 | |
1 | |
1 | |
1 | |
1 | |
1 | |
1 | |
1 | |
1 | |
1 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.