LP1791791-Google book previews not displaying from a bib linked from a search. user/gcollum/LP1791791-Google_book_previews_not_displaying
authorGarry Collum <gcollum@gmail.com>
Sun, 19 Dec 2021 01:31:22 +0000 (20:31 -0500)
committerGarry Collum <gcollum@gmail.com>
Sun, 19 Dec 2021 01:31:22 +0000 (20:31 -0500)
commitbfe0d8f01b087867320692c3ba01138b3810c566
tree6b8a5145d7f20972d82087cc118369ec9157acd8
parente79df5dd87a895a61d15fdc569d904d2642091a8
LP1791791-Google book previews not displaying from a bib linked from a search.

The javascript that queries google books looks for isbn(s) wrapped in
a rdetail_value class.  There was a line of code in which the isbn variable
 was not enclosed in this class.  This patch just wraps that stray variable
into a <span> with the class.

To test:
1. Perform a keyword search for an bib that should have a google book's link.
2. Go to the bib display and notice that there is no link.
3. Remove the ';query=something' text from the url and notice that the
google book information displays.
4. Apply the patch.
5. Perform the same search.  The google book information should now display.

Signed-off-by: Garry Collum <gcollum@gmail.com>
Open-ILS/src/templates/opac/parts/record/summary.tt2