SAP Knowledge Base Article - Public

2596778 - LMS - Catalog Search Results when Sorted via Rating


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


SAP Successfactors Learning Management System

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?


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.



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:



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.


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


SAP SuccessFactors Learning 1605 ; SAP SuccessFactors Learning 1608 ; SAP SuccessFactors Learning 1611 ; SAP SuccessFactors Learning 1702 ; SAP SuccessFactors Learning 1705 ; SAP SuccessFactors Learning 1708 ; SAP SuccessFactors Learning 1711 ; SAP SuccessFactors Learning 1802