LP1955403-Bootstrap opac - Google Books preview not rendering. user/gcollum/LP1955403_Boostrap_opac_google_books_preview
authorGarry Collum <gcollum@gmail.com>
Mon, 20 Dec 2021 12:59:27 +0000 (07:59 -0500)
committerGarry Collum <gcollum@gmail.com>
Mon, 20 Dec 2021 12:59:27 +0000 (07:59 -0500)
commit3d29e055ebabcba5bafaf5f6006f3e1661b08f18
treef89440dac9cd7ed2441fab6b6da5632da3b2394b
parente79df5dd87a895a61d15fdc569d904d2642091a8
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>
Open-ILS/src/templates-bootstrap/opac/parts/record/summary.tt2