mirror of
https://github.com/DSpace/dspace-angular.git
synced 2025-10-07 01:54:15 +00:00
111731: Fixed search labels not working correctly for non-equals operators
This commit is contained in:
@@ -1,14 +1,14 @@
|
||||
<a *ngIf="min !== '*'"
|
||||
[routerLink]="searchLink"
|
||||
[queryParams]="(removeParametersMin$ | async)"
|
||||
class="badge badge-primary mr-1 mb-1 text-capitalize">
|
||||
class="badge badge-primary mr-1 mb-1">
|
||||
{{('search.filters.applied.f.' + appliedFilter.filter + '.min') | translate}}: {{ min }}
|
||||
<span> ×</span>
|
||||
</a>
|
||||
<a *ngIf="max !== '*'"
|
||||
[routerLink]="searchLink"
|
||||
[queryParams]="(removeParametersMax$ | async)"
|
||||
class="badge badge-primary mr-1 mb-1 text-capitalize">
|
||||
class="badge badge-primary mr-1 mb-1">
|
||||
{{('search.filters.applied.f.' + appliedFilter.filter + '.max') | translate}}: {{ max }}
|
||||
<span> ×</span>
|
||||
</a>
|
||||
|
@@ -1,6 +1,6 @@
|
||||
<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)">
|
||||
{{('search.filters.applied.f.' + appliedFilter.filter) | translate}}: {{'search.filters.' + appliedFilter.filter + '.' + appliedFilter.label | translate: {default: appliedFilter.label} }}
|
||||
{{('search.filters.applied.f.' + appliedFilter.filter) | translate}}{{'search.filters.applied.operator.' + appliedFilter.operator | translate}}: {{'search.filters.' + appliedFilter.filter + '.' + appliedFilter.label | translate: {default: appliedFilter.label} }}
|
||||
<span> ×</span>
|
||||
</a>
|
||||
|
@@ -3658,6 +3658,20 @@
|
||||
|
||||
"search.filters.applied.f.withdrawn": "Withdrawn",
|
||||
|
||||
"search.filters.applied.operator.equals": "",
|
||||
|
||||
"search.filters.applied.operator.notequals": " not equals",
|
||||
|
||||
"search.filters.applied.operator.authority": "",
|
||||
|
||||
"search.filters.applied.operator.notauthority": " not authority",
|
||||
|
||||
"search.filters.applied.operator.contains": " contains",
|
||||
|
||||
"search.filters.applied.operator.notcontains": " not contains",
|
||||
|
||||
"search.filters.applied.operator.query": "",
|
||||
|
||||
"search.filters.filter.title.head": "Title",
|
||||
|
||||
"search.filters.filter.title.placeholder": "Title",
|
||||
|
Reference in New Issue
Block a user