50 views

Description

In the instances upgraded to New York, the icon/image that shows for the search results page is missing in Service Portal

Release or Environment

New York

Cause

Search page template in search source for the catalog items is not rendering the icon correctly.

Resolution

  1. Navigate to the search sources list (table :sp_search_source).
  2. Update 'Search page template' for catalog items search source (SysID :c96eb1686721220023c82e08f585efff) by adding float:left; background-size:contain; background-repeat:no-repeat; in the style on Line 4. The updated line of code will be :
<i ng-if="!item.picture && item.icon" class="ta-icon" style="float:left; background-size:contain; background-repeat:no-repeat; background-image:url('{{item.icon}}'); width:16px; height:16px;margin-right:15px"></i>

           3. Save the record

Article Information

Last Updated:2019-12-19 18:22:30
Published:2019-12-20