for rss sort id should be date.accessioned so defaulted to that when its the case

This commit is contained in:
Nathan Buckingham
2022-05-13 13:32:33 -04:00
parent 0791287cf9
commit 3a6112532e

View File

@@ -118,7 +118,7 @@ export class RSSComponent implements OnInit, OnDestroy {
if (uuid) {
route += `&scope=${uuid}`;
}
if (sort && sort.direction && sort.field) {
if (sort && sort.direction && sort.field && sort.field !== 'id') {
route += `&sort=${sort.field}&sort_direction=${sort.direction}`;
}
if (query) {