diff --git a/InvenTree/common/api.py b/InvenTree/common/api.py index b897ad5f2f..e2e10ecdf2 100644 --- a/InvenTree/common/api.py +++ b/InvenTree/common/api.py @@ -402,6 +402,8 @@ class NewsFeedEntryList(NewsFeedMixin, BulkDeleteMixin, ListAPI): filter_backends = ORDER_FILTER + ordering = '-published' + ordering_fields = ['published', 'author', 'read'] filterset_fields = ['read'] diff --git a/InvenTree/templates/js/translated/news.js b/InvenTree/templates/js/translated/news.js index c5e98436a5..68cca01587 100644 --- a/InvenTree/templates/js/translated/news.js +++ b/InvenTree/templates/js/translated/news.js @@ -25,7 +25,7 @@ function loadNewsFeedTable(table, options={}, enableDelete=false) { name: 'news', groupBy: false, queryParams: { - ordering: 'published', + ordering: '-published', read: false, }, paginationVAlign: 'bottom',