on ‎2020 Dec 08 9:10 AM
Request clarification before answering.
Answer :
You can write a filter/ adapter as below.
Code is not to the point for classes/ models, please change based on Hybris version.
Hope it solves your problem.
class YourClass extends AbstractInitAdvancedSearchAdapter {
public void addSearchDataConditions(final AdvancedSearchData searchData)
{
final FieldType fieldType = new FieldType();
fieldType.setDisabled(Boolean.FALSE);
fieldType.setSelected(Boolean.TRUE);
fieldType.setName("catalog");
// multi conditions
searchData.addCondition(fieldType, ValueComparisonOperator.EQUAL, CatalogVersion.Staged);
searchData.addCondition(fieldType, ValueComparisonOperator.UNEQUAL, OrderStatus.Online);
}
}
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
| User | Count |
|---|---|
| 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.