Notifications

79 views

Description

Property 'glide.knowman.search.show_rating' is ignored by Knowledge Portal search widgets

Steps to Reproduce

  1. Log in to a Madrid Instance and set the property 'glide.knowman.search.show_rating' to False.
  2. Navigate to /kb and use the search bar to search for a random keyword (ie: test)

    Expected behavior: Knowledge search results should not display ratings and the behavior should be coherent with searching from /$knowledge.do where the property is properly considered.
    Actual behavior: Search ratings are displayed and the property 'glide.knowman.search.show_rating' is ignored.

Workaround

The below workaround can be used for now:

  • Switch to the application "Knowledge Management - Service Portal"
  • Clone the widget "Knowledge Result"
  • In the cloned widget Change the following line from:
 fields.push('rating'); 

to :

if(gs.getProperty("glide.knowman.search.show_rating") == "true") 
fields.push('rating');
  • Make sure that the angular ng templates below are moved to the cloned widget:
    /sp_ng_template_list.do?sysparm_query=sp_widget%3Dff26f2b1db12220099f93691f0b8f5ce%5E
    The above link should load the templates:
     
    • kb_result_pinned_article_summary
    • kb_result_article_summary

Related Problem: PRB1349067

Seen In

There is no data to report.

Fixed In

London Patch 10
Madrid Patch 6
New York

Associated Community Threads

There is no data to report.

Article Information

Last Updated:2019-07-05 05:35:14
Published:2019-06-17