Notifications

3975 views

Description

The type ahead search on the top banner in Service Portal does not return the matching catalog items in the drop-down list.

Steps to Reproduce

 

1. Launch the Service Portal on a pre-London instance.

2. Click on the Service Catalog link on the top banner.

3. Try to search for any catalog item (i.e. Standard Laptop or Apple ipad3 or New Hire) and observe the results: no matching results are shown in the drop down list.

4. Click on Browse by categories and on the "Can we help you?" category.

5. Try to search for a catalog item using the search box on the top right corner and observe the results: no matching item values are listed in the drop-down.

6. If you press enter in the search box, a message appears for no results found under Service Catalog.

Workaround

This issue is fixed in London. If an upgrade is not possible yet, the workaround consists in making a simple change to the Service Catalog Search Source:

/nav_to.do?uri=sp_search_source.do?sys_id=c96eb1686721220023c82e08f585efff 

 
You can resolve the issue by editing line 16 of the Data Fetch Script to pass in the catalog value which is set earlier in the script, from: 
if (!catalog_item.canViewOnSearch() || !catalog_item.getFirstAccessibleCategoryForSearch()) { 

To:
if (!catalog_item.canViewOnSearch() || !catalog_item.getFirstAccessibleCategoryForSearch(portalValue)) { 


Related Problem: PRB1244576

Seen In

There is no data to report.

Fixed In

Kingston Patch 14
London

Associated Community Threads

There is no data to report.

Article Information

Last Updated:2019-05-21 11:41:55
Published:2018-11-26