From a99402c6b662962253434b06578719dff9ba827d Mon Sep 17 00:00:00 2001 From: LotteHofstede Date: Fri, 25 May 2018 13:05:47 +0200 Subject: [PATCH] Changed workaround comment for clarification --- src/app/core/data/base-response-parsing.service.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/app/core/data/base-response-parsing.service.ts b/src/app/core/data/base-response-parsing.service.ts index b7bb5b5784..050b3c2da5 100644 --- a/src/app/core/data/base-response-parsing.service.ts +++ b/src/app/core/data/base-response-parsing.service.ts @@ -73,7 +73,7 @@ export abstract class BaseResponseParsingService { const pageInfo: PageInfo = this.processPageInfo(data); let list = data._embedded; - // Workaround for inconsistancy in rest response - sometimes page embeds are wrapped in another object + // Workaround for inconsistency in rest response. Issue: https://github.com/DSpace/dspace-angular/issues/238 if (!Array.isArray(list)) { list = this.flattenSingleKeyObject(list); }