cancel
Showing results for 
Search instead for 
Did you mean: 

Backoffice Advanced Search with Multi Condition

jruz1
Discoverer
0 Kudos

Hi mates,

I need to set up an advanced search widget in one node of the backoffice in which I set up several values for one field. I've followed the instructions on this document:

https://wiki.hybris.com/display/release5/Advanced+Search+CNG+Search+API#AdvancedSearchCNGSearchAPI-I...

So the conditions specified in my class which extends from AbstractInitAdvancedSearchAdapter are working and the result are displayed correctly when I access to the backoffice node. The problem is that I want to be able to see and modify those advanced search fields. I have the possibility to add new fields, but I can't see the way to modify the ones specified by code. Any advice here?

Accepted Solutions (0)

Answers (1)

Answers (1)

former_member632755
Active Contributor
0 Kudos

Hi,

the conditions are disabled due to the code:

 approvalStatus.setDisabled(true);

If you simply won't mark it disabled it would be editable.

Cheers, Wojtek

jruz1
Discoverer
0 Kudos

This worked for me using a single condition, but not in the multicondition case.