LP1955403-Bootstrap opac - Google Books preview not rendering.
authorGarry Collum <gcollum@gmail.com>
Mon, 20 Dec 2021 12:59:27 +0000 (07:59 -0500)
committerGalen Charlton <gmc@equinoxOLI.org>
Tue, 22 Nov 2022 14:57:27 +0000 (09:57 -0500)
commitd6463e71478c028922c466ef91a4f81476041ebb
treebdc6d2a00f0b428eaaf2124ae5a346692a0d0014
parentbdacf8075cb713c1de7a5bac479fda7342ed2ca7
LP1955403-Bootstrap opac - Google Books preview not rendering.

Fixes the Google Books preview in the Bootstrap Opac.

To test.
1. Set ctx.google_books_preview=1 in config.tt2.
2. View a bibliographic record that would have an ISBN that would link to
a google book preview.  In concerto you can change and ISBN on a record to
and ISBN that you know would pull data (97880271037829781629795645).
3. Notice there is no preview button link, or preview.
4. Apply the patch and refresh.  The google preview button should render.
Clicking on the button will display the preview.

Signed-off-by: Garry Collum <gcollum@gmail.com>
Signed-off-by: Eva Cerninakova <cerninakova@jabok.cz>
Signed-off-by: Galen Charlton <gmc@equinoxOLI.org>
Open-ILS/src/templates-bootstrap/opac/parts/record/summary.tt2