Koha/koha-tmpl/intranet-tmpl/prog/en
Jonathan Druart 85005b7198 Bug 26158: Fix Z3950 search button broken for translations
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 ef4306cc02
  Bug 23885: Move staff client search results JavaScript into separate file

Test plan:
Use the staff interface in a translated language
Search for a term that won't return any results
Click the Z3950 button

Signed-off-by: Owen Leonard <oleonard@myacpl.org>

Signed-off-by: Josef Moravec <josef.moravec@gmail.com>

Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
2020-08-07 16:54:40 +02:00
..
data
includes Bug 26125: (bug 23697 follow-up) open patron's details in autocompletion search 2020-08-06 11:37:06 +02:00
modules Bug 26158: Fix Z3950 search button broken for translations 2020-08-07 16:54:40 +02:00
xslt Bug 17853: Don't remove () from 780 link text 2020-05-11 10:02:18 +01:00
columns.def