[Koha-bugs] [Bug 23402] Item search doesn't work with screen selected

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Thu Aug 8 13:27:51 CEST 2019


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

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

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|---                         |FIXED
            Summary|Similar to #19706: Item     |Item search doesn't work
                   |search doesn't work with    |with screen selected
                   |screen selected             |

--- Comment #13 from Katrin Fischer <katrin.fischer at bsz-bw.de> ---
This took me a while to figure out. The problem is in the translation:

misc/translator/po/de-DE-staff-prog.po

#. For the first occurrence,
#. SCRIPT
#: intranet-tmpl/prog/en/modules/catalogue/itemsearch.tt:223
#: intranet-tmpl/prog/en/modules/reports/itemslost.tt:89
#, c-format
msgid "Not for loan status"
msgstr "Status für \"Nicht ausleihbar\""

This results in broken Javascript because of the added double quotes "":

 + '      <th id="items_status">' + _("Status für "Nicht ausleihbar"") +
'</th>'

I've fixed the files in Pootle, so the next released versions will not have
this problem anymore. For an immediate fix: change the po file manually and
remove the "" and reinstall de-DE.

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


More information about the Koha-bugs mailing list