mirror of
https://github.com/DSpace/dspace-angular.git
synced 2025-10-07 18:14:17 +00:00
Bugfix for request by handle (removed unnecessary encoding)
This commit is contained in:
@@ -34,7 +34,7 @@ export class LookupGuard implements CanActivate {
|
|||||||
type = IdentifierType.HANDLE;
|
type = IdentifierType.HANDLE;
|
||||||
const prefix = route.params.idType;
|
const prefix = route.params.idType;
|
||||||
const handleId = route.params.id;
|
const handleId = route.params.id;
|
||||||
id = `${prefix}%2F${handleId}`;
|
id = `${prefix}/${handleId}`;
|
||||||
|
|
||||||
} else if (route.params.idType === IdentifierType.HANDLE) {
|
} else if (route.params.idType === IdentifierType.HANDLE) {
|
||||||
type = IdentifierType.HANDLE;
|
type = IdentifierType.HANDLE;
|
||||||
|
Reference in New Issue
Block a user