mirror of
https://github.com/DSpace/dspace-angular.git
synced 2025-10-07 10:04:11 +00:00
for rss sort id should be date.accessioned so defaulted to that when its the case
This commit is contained in:
@@ -118,7 +118,7 @@ export class RSSComponent implements OnInit, OnDestroy {
|
|||||||
if (uuid) {
|
if (uuid) {
|
||||||
route += `&scope=${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}`;
|
route += `&sort=${sort.field}&sort_direction=${sort.direction}`;
|
||||||
}
|
}
|
||||||
if (query) {
|
if (query) {
|
||||||
|
Reference in New Issue
Block a user