Skip to content

Commit

Permalink
Don't capitalize the labels for the facet filter values (#8133)
Browse files Browse the repository at this point in the history
* Don't capitalize the labels for the facet filter values

* Record view / Do not capitalize keywords (#104)

Display the label as defined in the vocabulary. Some are lower case (eg. GEMET), some capitalized (eg. INSPIRE themes) and some others are case sensitive (eg. Unit of measures).

---------

Co-authored-by: François Prunayre <[email protected]>
  • Loading branch information
josegar74 and fxprunayre authored Oct 7, 2024
1 parent ac2c1eb commit e030fce
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 @@ -33,7 +33,7 @@
></span>
<span class="gn-facet-label flex-shrink text-ellipsis">
{{::ctrl.item.value | facetTranslator: (ctrl.facet.meta && ctrl.facet.meta.field)
|| ctrl.facet.key | capitalize}}
|| ctrl.facet.key}}
</span>
<span
ng-if="ctrl.item.count"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
class="pull-left"
>
<button gn-popover-anchor="" class="btn btn-default btn-xs">
{{::k.default | capitalize}}
{{::k.default}}
</button>
<div gn-popover-content="">
<a data-ng-href="{{::k.link}}" data-ng-if="::!!k.link">
Expand Down

0 comments on commit e030fce

Please sign in to comment.