SAP Knowledge Base Article - Public

2596778 - LMS - Catalog Search Results when Sorted via Rating

Symptom

How are the items sorted when search result is set to "Sort By Rating"?

"Image/data in this KBA is from SAP internal systems, sample data, or demo systems. Any resemblance to real data is purely coincidental." 

Environment

SAP Successfactors Learning

Reproducing the Issue

  1. First, go to System Admin >> Config >> System Config >> Catalog and look for catalogSearchSortByOptionsOrder. Make sure that "Rating" is part of this. This way, you will be able to choose "Rating" as the sorting order in "Browse All Courses"
  2. Then go to the Learning Home Page then click on "Browse All Courses"
  3. Under "Sort by", choose "Ratings"

What is the result?

Resolution

The items will be sorted via the Rating of the items - in descending order; highest rating to lowest.

After the lowest rating, the unrated ones are also there but they are now sorted by their item title again since there's no rating to sort them by anymore.

 

PS: The number of times the item was rated will not matter. For example, you have 2 items that were rated 5 stars. The first item has 2 people who rated it 5 stars, while the second item has only 1 person who rated it 5 stars. It won't matter how many times the item was rated 5 stars, but since they both have 5 stars, they will instead be sorted by Title. See example below:

Rating.PNG

 

Item "Ashok Launch Editor" was only rated 5 stars once, but since it comes first alphabetically, it returned first on the catalog search. It doesn't matter even if "Ratingtesting" has 2 votes for 5 stars because it will be sorted by their title.

Keywords

LMS, Learning Management System, Sort, Sort By, Rating, Sort By Rating, Catalog Search Result, Catalog, Search , KBA , LOD-SF-LMS-CAT , Catalog , Problem

Product

SAP SuccessFactors Learning all versions