mirror of
https://github.com/DSpace/dspace-angular.git
synced 2025-10-13 21:13:07 +00:00
fix function to match default value of websvc.opensearch.svccontext
This commit is contained in:
@@ -114,7 +114,7 @@ export class RSSComponent implements OnInit, OnDestroy {
|
||||
* @returns The combine URL to opensearch
|
||||
*/
|
||||
formulateRoute(uuid: string, opensearch: string, sort: SortOptions, query: string): string {
|
||||
let route = 'search?format=atom';
|
||||
let route = '?format=atom';
|
||||
if (uuid) {
|
||||
route += `&scope=${uuid}`;
|
||||
}
|
||||
@@ -126,7 +126,7 @@ export class RSSComponent implements OnInit, OnDestroy {
|
||||
} else {
|
||||
route += `&query=*`;
|
||||
}
|
||||
route = '/' + opensearch + '/' + route;
|
||||
route = '/' + opensearch + route;
|
||||
return route;
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user