Skip to content

Commit

Permalink
src/app/shared/search: don't capitalize metadata values
Browse files Browse the repository at this point in the history
Don't capitalize metadata values for display purposes.
  • Loading branch information
alanorth committed Sep 19, 2023
1 parent 2d73373 commit 47029c0
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
[queryParams]="removeQueryParams" queryParamsHandling="merge">
<label class="mb-0 d-flex w-100">
<input type="checkbox" [checked]="true" class="my-1 align-self-stretch filter-checkbox"/>
<span class="filter-value pl-1 text-capitalize break-facet">
<span class="filter-value pl-1 break-facet">
{{ 'search.filters.' + filterConfig.name + '.' + selectedValue.value | translate: {default: selectedValue.label} }}
</span>
</label>
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<a class="badge badge-primary mr-1 mb-1 text-capitalize"
<a class="badge badge-primary mr-1 mb-1"
[routerLink]="searchLink"
[queryParams]="(removeParameters | async)" queryParamsHandling="merge">
{{('search.filters.applied.' + key) | translate}}: {{'search.filters.' + filterName + '.' + value | translate: {default: normalizeFilterValue(value)} }}
Expand Down

0 comments on commit 47029c0

Please sign in to comment.