In the search results, when the option "Show more details" is switched on, the item statuses show untranslated
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.
tags: | added: i18n |
tags: | added: opac staffcatalog |
Changed in evergreen: | |
status: | New → Confirmed |
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= 6d4c6b60dcc04d1 5007a68701c73f9 1d168594a2:
<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=1e4306287476 4d2a65c50d425b2 a2630f798f663:
<td mobile-title="[% l('Status') %]"><span class=" sr-only" >Status </span>[% copy.status | html %]</td>