Sort Employee center Catalog item in alphabetical order
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-23-2023 11:31 PM
i want to sort Catalog items in alphabetical order!!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-23-2023 11:48 PM
Hello @BoHyun Jung
Greetings!
you have to change the following line of code in the HTML of the SC popular items widget
from
<div class="col-sm-6 col-md-4" ng-repeat="item in data.items | orderBy: '-count' | limitTo: data.limit">
to
<div class="col-sm-6 col-md-4" ng-repeat="item in data.items | orderBy: 'name' | limitTo: data.limit">
refer below article which explains the same :
https://support.servicenow.com/kb?id=kb_article_view&sysparm_article=KB0745289
Please Mark the Answer as correct solution and helpful if helped!
Kind Regards,
Ravi Chandra.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-23-2023 11:59 PM - edited 08-24-2023 12:01 AM
Hello Ravi Chandra_K
Is there any other way to change widget?😅
and i want to sort taxonomy catalog items not popular items!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-24-2023 12:03 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-24-2023 12:06 AM
default sort by is popular. but i want to change default to A-Z