[Koha-bugs] [Bug 26158] New: Z3950 search button broken for translations

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Thu Aug 6 13:26:32 CEST 2020


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

            Bug ID: 26158
           Summary: Z3950 search button broken for translations
 Change sponsored?: ---
           Product: Koha
           Version: unspecified
          Hardware: All
                OS: All
            Status: ASSIGNED
          Severity: major
          Priority: P5 - low
         Component: I18N/L10N
          Assignee: jonathan.druart at bugs.koha-community.org
          Reporter: jonathan.druart at bugs.koha-community.org
        QA Contact: testopia at bugs.koha-community.org
                CC: frederic at tamil.fr
        Depends on: 23885

This is similar to bug 23713

var SEARCH_RESULTS = [% IF (SEARCH_RESULTS) %]1[% ELSE %]0[% END %];

become, once translated:

var SEARCH_RESULTS = [% IF (SEARCH_RESULTS) %]1[% ELSE %][% END %];

and a JS error appears in the console
 Uncaught SyntaxError: expected expression, got ';' search.pl:636:29

Caused by
  commit ef4306cc02e2f15aa2466ae65d0b4f9a1fd70ad9
  Bug 23885: Move staff client search results JavaScript into separate file


Referenced Bugs:

https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=23885
[Bug 23885] Move staff client search results JavaScript into separate file
-- 
You are receiving this mail because:
You are watching all bug changes.


More information about the Koha-bugs mailing list