Skip to content

Commit 24cc3fb

Browse files
committed
reverted browse-by-metadata change
1 parent 5b33c49 commit 24cc3fb

1 file changed

Lines changed: 1 addition & 3 deletions

File tree

src/app/browse-by/browse-by-metadata-page/browse-by-metadata-page.component.ts

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -152,9 +152,7 @@ export class BrowseByMetadataPageComponent implements OnInit, OnDestroy {
152152
this.browseId = params.id || this.defaultBrowseId;
153153
this.authority = params.authority;
154154

155-
if (typeof params.value === 'string'){
156-
this.value = params.value.trim();
157-
}
155+
this.value = +params.value || params.value || '';
158156

159157
if (typeof params.startsWith === 'string'){
160158
this.startsWith = params.startsWith.trim();

0 commit comments

Comments
 (0)