Applied feedback and other fixes

This commit is contained in:
Lotte Hofstede
2018-04-13 15:18:35 +02:00
parent c9e7cdcf9a
commit e56ea2aff8
20 changed files with 107 additions and 83 deletions

View File

@@ -56,6 +56,6 @@ export class SearchResponseParsingService implements ResponseParsingService {
}));
payload.objects = objects;
const deserialized = new DSpaceRESTv2Serializer(SearchQueryResponse).deserialize(payload);
return new SearchSuccessResponse(deserialized, data.statusCode, this.dsoParser.processPageInfo(data.payload.page));
return new SearchSuccessResponse(deserialized, data.statusCode, this.dsoParser.processPageInfo(data.payload));
}
}