Merge pull request #2543 from DSpace/backport-2531-to-dspace-7_x

[Port dspace-7_x] Fix browse by visual bug
This commit is contained in:
Alan Orth
2023-10-12 09:17:48 +03:00
committed by GitHub

View File

@@ -161,7 +161,11 @@ export class BrowseByMetadataPageComponent implements OnInit, OnDestroy {
this.value = ''; this.value = '';
} }
if (typeof params.startsWith === 'string'){ if (params.startsWith === undefined || params.startsWith === '') {
this.startsWith = undefined;
}
if (typeof params.startsWith === 'string'){
this.startsWith = params.startsWith.trim(); this.startsWith = params.startsWith.trim();
} }