cancel
Showing results for 
Search instead for 
Did you mean: 

Typing a value doesn't show any value from dropdown in Advanced Search BackOffice

chun18
Explorer
0 Kudos
482

In BackOffice advanced search, when I type a value, it doesn't show any result. It's showing blank. How can I fix it?

This is from the dropdown:
Screenshot 2024-10-04 at 2.55.16 PM.png

When I typed SAMPLE_NUMBER_1, it doesn't show the SAMPLE_NUMBER_1 object to select.

Screenshot 2024-10-04 at 2.55.37 PM.png

Attribute B is TypeB.

I have this

<context type="TypeA" component="advanced-search" merge-by="type">
<as:advanced-search xmlns:as="http://www.hybris.com/cockpitng/config/advancedsearch" connection-operator="AND">
<as:field-list>
...
<as:field name="attributeB" operator="equals" selected="true"/>
</as:field-list>
</as:advanced-search>
</context>
View Entire Topic
Harish_Vatsa
Active Contributor

Hi chun18,

Can you please share the items. xml structure for this item type. Is this attribute a collection or a relation?

Thanks

chun18
Explorer
0 Kudos

Yes, sure.

 

<itemtype code="ItemTypeA">
    <attributes>
        <attribute qualifier="myAttributeB" type="ItemTypeB">
            <persistence type="property" />
        </attribute>
    </attributes>
</itemtype>

 

<context type="ItemTypeA" component="advanced-search" merge-by="type" >   
      <as:advanced-search xmlns:as="http://www.hybris.com/cockpitng/config/advancedsearch" connection-operator="AND" disable-auto-search="true">      
          <as:field-list>         
               ...         
               <as:field name="myAttributeB" operator="equals" selected="true"/>      
          </as:field-list>   
      </as:advanced-search></context>
chun18
Explorer
0 Kudos
Thank you for your help! After I added simple-search for ItemTypeB, now I seem to be able to search it in advanced search of itemTypeA.