In the search results, when the option "Show more details" is switched on, the item statuses show untranslated

Bug #2033081 reported by Eva Cerninakova
12
This bug affects 2 people
Affects Status Importance Assigned to Milestone
Evergreen
Confirmed
Undecided
Unassigned

Bug Description

In the search results, when the option "Show more details" is switched on, the item statuses show untranslated, although in other parts of the catalog (e.g., in record details), the statuses are shown translated; see the attachment.
This issue is not new; it has been identified in the OPAC a long time ago (I believe I had already reported a bug for it, but I am currently not able to find the old bug report).

I suspect this might be an issue for the staff client search results too. However, I am not able to check it at the moment because when I click the button Show more details, the item information display is funny (see the attachment). Which might have something to do with the localization, as I have noticed it both on Blake's Bug Squashing localized server (bugsquash3.mobiusconsortium.org) and Czech's Evergreen Common Catalog SPOK test server, although the display of the item details is not exactly the same. (On Terran's unlocalized test server, https://terran-main.gapines.org/, item information is displayed normally.)

Revision history for this message
Eva Cerninakova (ece) wrote :
Revision history for this message
Eva Cerninakova (ece) wrote :
Revision history for this message
Eva Cerninakova (ece) wrote :
tags: added: i18n
tags: added: opac staffcatalog
Changed in evergreen:
status: New → Confirmed
Revision history for this message
Linda Jansova (skolkova-s) wrote :

Currently, it seems that the statuses are also untranslated on individual record pages; see, for example, https://terran-testbox.gapines.org/eg/opac/record/261?locg=1. It looks like in this case the information comes from line 135 of the file https://git.evergreen-ils.org/?p=Evergreen.git;a=blob;f=Open-ILS/src/templates-bootstrap/opac/parts/record/copy_table.tt2;hb=6d4c6b60dcc04d15007a68701c73f91d168594a2:

<td>[% bib.target_copy.status.name | html %]</td>

In case of the status display in result list configured to show more details, it is probably line 333 of the file https://git.evergreen-ils.org/?p=Evergreen.git;a=blob;f=Open-ILS/src/templates-bootstrap/opac/parts/result/table.tt2;hb=1e43062874764d2a65c50d425b2a2630f798f663:

<td mobile-title="[% l('Status') %]"><span class="sr-only">Status </span>[% copy.status | html %]</td>

Revision history for this message
Linda Jansova (skolkova-s) wrote :
Revision history for this message
Linda Jansova (skolkova-s) wrote :
Revision history for this message
Jennifer Pringle (jpringle-u) wrote :

Here's the bug for this in the OPAC, originally reported for TPAC but still an issue in Bootstrap - https://bugs.launchpad.net/evergreen/+bug/1940594

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.