Skip to content

Commit 575df2b

Browse files
committed
Fix: This fix will ensure brackets stay around numbers
In a right to left setting, the parenthesis around the facet counts could be misaligned, adding a span and a dir ensures that these parenthesis show properly
1 parent c32c768 commit 575df2b

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

Koha/Plugin/EDS/bootstrap/includes/eds-facets.inc

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -129,12 +129,12 @@
129129
[% END %]
130130
<li>
131131
<input type="checkbox" name="filter[]" value="" onChange="SetFacet(this);">
132-
<a href="[% FacetValues.AddAction %]">[% sourcetypeLabelText %]</a> ([% FacetValues.Count %])
132+
<a href="[% FacetValues.AddAction %]">[% sourcetypeLabelText %]</a> <span dir="ltr">([% FacetValues.Count %])</span>
133133
</li>
134134
[% ELSE %]
135135
<li>
136136
<input type="checkbox" name="filter[]" value="" onChange="SetFacet(this);">
137-
<a href="[% FacetValues.AddAction %]">[% FacetValues.Value %]</a> ([% FacetValues.Count %])
137+
<a href="[% FacetValues.AddAction %]">[% FacetValues.Value %]</a> <span dir="ltr">([% FacetValues.Count %])</span>
138138
</li>
139139
[% END %]
140140
[% END %]

0 commit comments

Comments
 (0)