[Koha] openlibrary search error

Alvaro Cornejo cornejo.alvaro at gmail.com
Wed Jul 22 03:34:00 NZST 2020


Hi Jonathan

Thaks for your help.

We are in 19.11.07 on Ubuntu 18.04

The opac url is https://biblioteca.celacp.org

Regards and keep safe!

Alvaro
|----------------------------------------------------------------------------------------|
 Stay safe / Cuídate/  Reste sécurisé
*7* Switch off as you go / Apaga lo que no usas /  Débranchez au fur et à
mesure.
 *q *Recycle always / Recicla siempre / Recyclez toujours
 P Print only if absolutely necessary / Imprime solo si es necesario /
Imprimez seulement si nécessaire


Le mar. 21 juil. 2020 à 02:38, Jonathan Druart <
jonathan.druart at bugs.koha-community.org> a écrit :

> Hi Alvaro,
>
> If you have the openlibrary syspref ON, then a search to their services is
> made.
> Which exact version of Koha are you using? Can you share the url of the
> OPAC?
>
> Regards,
> Jonathan
>
>
> Le mar. 21 juil. 2020 à 04:20, Alvaro Cornejo
> <cornejo.alvaro at gmail.com> a écrit :
> >
> > Hi Jonathan
> >
> > I´m not doing any search to openlibrary. I´ve just enabled the search
> title sys preference and when inspecting the opac code with chrome, it
> detects the error shown  in  my original mail.
> >
> > The link chrome shows as 404, main opac page is like:
> >
> >
> https://openlibrary.org/api/volumes/brief/json?callback=jQuery34103507825775501341_1595297551064&show_all_items=true&_=1595297551065
> >
> https://openlibrary.org/api/volumes/brief/json?callback=jQuery34106156189686337203_1595297818418&show_all_items=true&_=1595297818419
> >
> https://openlibrary.org/api/volumes/brief/json?callback=jQuery34100522572679755704_1595297867762&show_all_items=true&_=1595297867763
> >
> > On each refresh the variables values changes.
> >
> > Hope this helps,
> >
> > Regards
> >
> > Alvaro
> >
> >
> >
> |----------------------------------------------------------------------------------------|
> >  Stay safe / Cuídate/  Reste sécurisé
> > 7 Switch off as you go / Apaga lo que no usas /  Débranchez au fur et à
> mesure.
> >  q Recycle always / Recicla siempre / Recyclez toujours
> >  P Print only if absolutely necessary / Imprime solo si es necesario /
> Imprimez seulement si nécessaire
> >
> >
> > Le lun. 20 juil. 2020 à 04:16, Jonathan Druart <
> jonathan.druart at bugs.koha-community.org> a écrit :
> >>
> >> Hi Alvaro,
> >>
> >> Which terms do you use for the search? What is the full openlibrary url?
> >>
> >> Regards,
> >> Jonathan
> >>
> >> Le jeu. 16 juil. 2020 à 01:39, Alvaro Cornejo
> >> <cornejo.alvaro at gmail.com> a écrit :
> >> >
> >> > Hi
> >> >
> >> > Since some time, I'm getting an error when enabling openlibrary
> searches:
> >> >
> >> > I get this on chrome debugger:
> >> >
> >> > jquery-3.4.1.min_19.1107000.js:2 GET
> >> > https://openlibrary.org/api/volumes/brief/json?callback=jQuery3410806
> …_1594855600920&show_all_items=true&_=1594855600921
> >> > net::ERR_ABORTED 404 (Not Found)
> >> > send @ jquery-3.4.1.min_19.1107000.js:2
> >> > ajax @ jquery-3.4.1.min_19.1107000.js:2
> >> > s.ajax @ jquery-migrate-3.1.0.min_19.1107000.js:2
> >> > do_query @ openlibrary_19.1107000.js:212
> >> > (anonymous) @ openlibrary_19.1107000.js:221
> >> > (anonymous) @ openlibrary_19.1107000.js:230
> >> >
> >> > taking a look to the code, I arrive to  this js that seems to
> construct and
> >> > call openlibrary api
> >> >
> >> > /usr/share/koha/opac/htdocs/opac-tmpl/bootstrap/js$openlibrary.js
> >> >
> >> > Any clue on how to fix it?
> >> >
> >> > Regards
> >> >
> >> > Alvaro
> >> >
> >> >
> >> >
> >> >
> |----------------------------------------------------------------------------------------|
> >> >  Stay safe / Cuídate/  Reste sécurisé
> >> > *7* Switch off as you go / Apaga lo que no usas /  Débranchez au fur
> et à
> >> > mesure.
> >> >  *q *Recycle always / Recicla siempre / Recyclez toujours
> >> >  P Print only if absolutely necessary / Imprime solo si es necesario /
> >> > Imprimez seulement si nécessaire
> >> > _______________________________________________
> >> >
> >> > 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