Skip to content

Commit

Permalink
Merge pull request DSpace#2531 from atmire/main-fix-browse-by-visual-bug
Browse files Browse the repository at this point in the history
Fix browse by visual bug
  • Loading branch information
alanorth authored Oct 11, 2023
2 parents a57bcf0 + d0b4e15 commit 312b0aa
Showing 1 changed file with 5 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -161,7 +161,11 @@ export class BrowseByMetadataPageComponent implements OnInit, OnDestroy {
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();
}

Expand Down

0 comments on commit 312b0aa

Please sign in to comment.