[Koha] Z39.50/SRU search not working (only when language set to English)

Jonathan Druart jonathan.druart at bugs.koha-community.org
Thu Aug 6 23:28:11 NZST 2020


I have opened a new bug report
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=26158

A workaround is to edit your de-DE template file
de-DE/modules/catalogue/results.tt and replace line 681
  var SEARCH_RESULTS = [% IF (SEARCH_RESULTS) %]1[% ELSE %][% END %];
with
  var SEARCH_RESULTS = [% IF (SEARCH_RESULTS) %]1[% ELSE %]0[% END %];

Le jeu. 6 août 2020 à 12:58, zefanja <koha at zefanjas.de> a écrit :
>
> Hi,
>
> ok, I've upgraded our system to Ubuntu 20.04, but I still get this error
> (in the web console) when my language is set to a non-english (in my cae
> german) language:
>
> Uncaught SyntaxError: expected expression, got ';' search.pl:636:29
>
> (when I enter an ISBN in "Search the catalog", on the next page, the
> "Z39.50/SRU search" button is not working (it does not open the popup
> for the Z39.50/SRU search).)
>
> Regards,
> Stephan
>
> Am 06.08.20 um 14:33 schrieb Jonathan Druart:
> > This is a known bug for 20.05.
> > libcpan-meta-perl must be version 2.150010. If not you can try
> > `sudo apt install libcpan-meta-perl`. Better would be to upgrade the
> > system of course.
> >
> > Le jeu. 6 août 2020 à 02:23, zefanja <koha at zefanjas.de> a écrit :
> >>
> >> Hi,
> >>
> >>> Hi Stephan, which exact version of Koha are you using?
> >>
> >> Sry, forgot to include it: 20.05.02 (running on Ubuntu 16.04 → maybe
> >> that's part of the problem?)
> >>
> >> The about page in my Koha installations also has an error:
> >>
> >> Can't locate object method "structured_requirements_for_module" via
> >> package "CPAN::Meta::Requirements" at
> >> /usr/share/koha/lib/C4/Installer/PerlModules.pm line 66.
> >>
> >> Regards,
> >> Stephan
> >>
> >>
> >> _______________________________________________
> >>
> >> Koha mailing list  http://koha-community.org
> >> Koha at lists.katipo.co.nz
> >> Unsubscribe: https://lists.katipo.co.nz/mailman/listinfo/koha
> >
> _______________________________________________
>
> Koha mailing list  http://koha-community.org
> Koha at lists.katipo.co.nz
> Unsubscribe: https://lists.katipo.co.nz/mailman/listinfo/koha


More information about the Koha mailing list