]> 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:58:11 +0000 (09:58 -0500)
commit1762a17d803a77a88fa3d2d60e80f68036ccca1c
tree4214eebffe8405b6d657e614344e89bb53a4b3f1
parent4c1ceb3896b4d76a58be2ae3da57c1a4fa46f878
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