From 8f93d723a54e2568cebbac172cbc939cdaa0cf9f Mon Sep 17 00:00:00 2001 From: lhenze Date: Wed, 21 Aug 2019 16:07:34 -0400 Subject: [PATCH] Problem: Attempt to extend comcol-page-browse-by Cannot pass a URL. it is getting sanitized --- src/app/+collection-page/collection-page.component.html | 3 ++- .../comcol-page-browse-by/comcol-page-browse-by.component.html | 1 + .../comcol-page-browse-by/comcol-page-browse-by.component.ts | 1 + 3 files changed, 4 insertions(+), 1 deletion(-) diff --git a/src/app/+collection-page/collection-page.component.html b/src/app/+collection-page/collection-page.component.html index 7ac0bb4959..c9bdbf21c8 100644 --- a/src/app/+collection-page/collection-page.component.html +++ b/src/app/+collection-page/collection-page.component.html @@ -16,7 +16,8 @@ - + +
diff --git a/src/app/shared/comcol-page-browse-by/comcol-page-browse-by.component.html b/src/app/shared/comcol-page-browse-by/comcol-page-browse-by.component.html index e510d4df72..07629ef791 100644 --- a/src/app/shared/comcol-page-browse-by/comcol-page-browse-by.component.html +++ b/src/app/shared/comcol-page-browse-by/comcol-page-browse-by.component.html @@ -1,6 +1,7 @@ \ No newline at end of file diff --git a/src/app/shared/comcol-page-browse-by/comcol-page-browse-by.component.ts b/src/app/shared/comcol-page-browse-by/comcol-page-browse-by.component.ts index 8031d6373b..165f1aea97 100644 --- a/src/app/shared/comcol-page-browse-by/comcol-page-browse-by.component.ts +++ b/src/app/shared/comcol-page-browse-by/comcol-page-browse-by.component.ts @@ -16,6 +16,7 @@ export class ComcolPageBrowseByComponent implements OnInit { * The ID of the Community or Collection */ @Input() id: string; + @Input() url: string; /** * List of currently active browse configurations