Change display Order of Knowledge base articles on service portal

markalpine
Kilo Expert

We are using Jakarta.

I need the articles I create for a KB to display on the service portal with the newest articles displaying first.

Currently they seem to display alphabetically (a to z).

This is just for the service portal side of things.

Here's what we get now...
find_real_file.png

 

Thanks

1 ACCEPTED SOLUTION

Good that you found the solution!
Yeah, it's just adding a dash before to make it descending when setting order in angular.

The problems with differing time zones, you see the community updates at the wrong time.

View solution in original post

13 REPLIES 13

markalpine
Kilo Expert

Darn.... I was hopeful that would do the trick but no worky......Thank you....

markalpine
Kilo Expert

I want to thank everyone who tried to help this humble newbie.

This is the resolution:

 

      <div role="listitem" ng-repeat="kb_article in data.items | orderBy: '-published'" class="sp-kb-topic-article m-b-lg">

Good that you found the solution!
Yeah, it's just adding a dash before to make it descending when setting order in angular.

The problems with differing time zones, you see the community updates at the wrong time.

100% working. Thank you