From 697fdfa2f3473e28974d4a7212c0d04f02fd413f Mon Sep 17 00:00:00 2001 From: "k.triantafyllou" Date: Thu, 3 Oct 2019 09:18:12 +0000 Subject: [PATCH] [Library]: Display claims: Fix bug with parameter types git-svn-id: https://svn.driver.research-infrastructures.eu/driver/dnet40/modules/uoa-services-library/trunk/ng-openaire-library/src/app@57249 d315682c-612b-4755-9ff5-7f18f6832af3 --- claims/claim-utils/displayClaims/displayClaims.component.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/claims/claim-utils/displayClaims/displayClaims.component.ts b/claims/claim-utils/displayClaims/displayClaims.component.ts index e686a547..ab356150 100644 --- a/claims/claim-utils/displayClaims/displayClaims.component.ts +++ b/claims/claim-utils/displayClaims/displayClaims.component.ts @@ -323,7 +323,7 @@ export class DisplayClaimsComponent { for (let type of this.entityTypes) { types += (types.length > 0 ? ',' : '') + type; } - params += (types.length > 0) ? "types=" + types : ""; + params += (types.length > 0) ? (params.length > 0 ? '&' : '') + "types=" + types : ""; if (this.isAdmin) { params += (this.fetchBy == 'All' ? "" : (params.length > 0 ? '&' : '') + "fetchBy=" + this.fetchBy);