]> git.evergreen-ils.org Git - Evergreen.git/commit
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:50 +0000 (09:57 -0500)
commita00dd5e973f81ca4e487281403b6953d58184029
treee21c5220e34c807463f7425dcba81d6bb58ec020
parent8d02a8a09633dc02dbb25e39e1310ff950937405
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