mirror of
https://github.com/DSpace/dspace-angular.git
synced 2025-10-14 05:23:06 +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
|
* @returns The combine URL to opensearch
|
||||||
*/
|
*/
|
||||||
formulateRoute(uuid: string, opensearch: string, sort: SortOptions, query: string): string {
|
formulateRoute(uuid: string, opensearch: string, sort: SortOptions, query: string): string {
|
||||||
let route = 'search?format=atom';
|
let route = '?format=atom';
|
||||||
if (uuid) {
|
if (uuid) {
|
||||||
route += `&scope=${uuid}`;
|
route += `&scope=${uuid}`;
|
||||||
}
|
}
|
||||||
@@ -126,7 +126,7 @@ export class RSSComponent implements OnInit, OnDestroy {
|
|||||||
} else {
|
} else {
|
||||||
route += `&query=*`;
|
route += `&query=*`;
|
||||||
}
|
}
|
||||||
route = '/' + opensearch + '/' + route;
|
route = '/' + opensearch + route;
|
||||||
return route;
|
return route;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user