Openlibrary search does not work from book reccord
Hi I´ve noticed that the search link in more searches inside a book record does not work. Openlibrary gives the following error.: /opt/openlibrary/deploys/openlibrary/68474f6/openlibrary/templates/work_search.html: error in processing template: TypeError: expected string or buffer (falling back to default template) Other searches to Google scholar, Worldcar and bookfinder works correctly. Might be related to the errors: openlibrary.org/api/volumes/brief/json?callback=jQuery3410050118992030811604_1602804975857&show_all_items=true&_=1602804975858:1 Failed to load resource: the server responded with a status of 404 (Not Found) jquery.min.js:2 GET https://openlibrary.org/api/volumes/brief/json?callback=jQuery3410683177136289647_1602805333639&show_all_items=true&_=1602805333640 net::ERR_ABORTED 404 (Not Found) That are shown in several opac pages if enabling browser code inspection feature? Note that if I do a search from within the main opac page, having openlibrary search enabled. does work. 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
I´ve noticed that the search link in more searches inside a book record does not work
I can reproduce this problem but only when the title in Koha contains the ":" character. The string seems to be encoded correctly so I think it's an error on Open Library's end. I'm going to submit a problem report to them. -- Owen -- Web Developer Athens County Public Libraries (740) 737-6006 https://www.myacpl.org
Hi Owen, Thanks for the confirmation. Will check if this happens only in the case you mention. What about the 404 error on the api call to openlibrary? BTW I´m in 19.11.10 under ubuntu bionic 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 ven. 16 oct. 2020 à 07:10, Owen Leonard <oleonard@myacpl.org> a écrit :
I´ve noticed that the search link in more searches inside a book record does not work
I can reproduce this problem but only when the title in Koha contains the ":" character. The string seems to be encoded correctly so I think it's an error on Open Library's end. I'm going to submit a problem report to them.
-- Owen
-- Web Developer Athens County Public Libraries (740) 737-6006 https://www.myacpl.org
participants (2)
-
Alvaro Cornejo -
Owen Leonard