mirror of
https://github.com/DSpace/dspace-angular.git
synced 2025-10-10 19:43:04 +00:00
Use full projection for submission REST requests
This commit is contained in:
@@ -71,8 +71,9 @@ export class SubmissionRestService {
|
||||
*/
|
||||
protected getEndpointByIDHref(endpoint, resourceID, collectionId?: string): string {
|
||||
let url = isNotEmpty(resourceID) ? `${endpoint}/${resourceID}` : `${endpoint}`;
|
||||
url = new URLCombiner(url, '?projection=full').toString();
|
||||
if (collectionId) {
|
||||
url = new URLCombiner(url, `?owningCollection=${collectionId}`).toString();
|
||||
url = new URLCombiner(url, `&owningCollection=${collectionId}`).toString();
|
||||
}
|
||||
return url;
|
||||
}
|
||||
|
Reference in New Issue
Block a user