Correct title attribute for filter buttons
authorStephanie Leary <stephanie.leary@equinoxoli.org>
Mon, 27 Mar 2023 16:06:27 +0000 (16:06 +0000)
committerStephanie Leary <stephanie.leary@equinoxoli.org>
Mon, 27 Mar 2023 16:06:27 +0000 (16:06 +0000)
Signed-off-by: Stephanie Leary <stephanie.leary@equinoxoli.org>
Open-ILS/src/eg2/src/app/share/grid/grid-filter-control.component.html

index 28594c0..3dc99ff 100644 (file)
@@ -2,12 +2,12 @@
 <!-- drop-down toggle link -->
 <ng-template #dropdownToggle>
   <ng-container *ngIf="!col.isFiltered">
-    <span id="filter_toggle_{{col.name}}" i18n hidden>Filter by {{col.name}}</span>
-    <span class="material-icons mat-icon-in-button" attr.aria-hidden="true" title="Filter by {{col.name}}" i18n-title>filter_alt</span>
+    <span id="filter_toggle_{{col.name}}" i18n hidden>Filter by {{col.headerLabel}}</span>
+    <span class="material-icons mat-icon-in-button" attr.aria-hidden="true" title="Filter by {{col.headerLabel}}" i18n-title>filter_alt</span>
   </ng-container>
   <ng-container *ngIf="col.isFiltered">
-    <span id="filter_toggle_{{col.name}}" i18n hidden>Edit {{col.name}} filter</span>
-    <span class="material-icons mat-icon-in-button" attr.aria-hidden="true" title="Edit {{col.name}} filter" i18n-title>create</span>
+    <span id="filter_toggle_{{col.name}}" i18n hidden>Edit {{col.headerLabel}} filter</span>
+    <span class="material-icons mat-icon-in-button" attr.aria-hidden="true" title="Edit {{col.headerLabel}} filter" i18n-title>create</span>
   </ng-container>
 </ng-template>