[Koha-bugs] [Bug 30352] "Not for loan" in result list doesn't translate in OPAC

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Wed Apr 5 17:20:49 CEST 2023


https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=30352

Katrin Fischer <katrin.fischer at bsz-bw.de> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |m.de.rooy at rijksmuseum.nl
           Severity|normal                      |major

--- Comment #3 from Katrin Fischer <katrin.fischer at bsz-bw.de> ---
This got worse with the rewrites/changes in the newer versions. The string "Not
for loan" is no longer in its own HTML element, so it's not longer a simple
search and replace by jQuery as a workaround. It's now much more difficult as
it has the library name in the same element.

<span class="unavailable_Not for loan"><span class="ItemBranch">Bibliothek X:
Not for loan</span> (1). </span>

The problem is here:
https://git.koha-community.org/Koha-community/Koha/src/branch/master/C4/XSLT.pm#L339

Can please someone help to fix this?

-- 
You are receiving this mail because:
You are watching all bug changes.
You are the assignee for the bug.


More information about the Koha-bugs mailing list