Get the "Borrow similar" link correct
authorDan Scott <dan@coffeecode.net>
Wed, 15 Jun 2011 03:12:28 +0000 (23:12 -0400)
committerDan Scott <dan@coffeecode.net>
Wed, 15 Jun 2011 03:14:40 +0000 (23:14 -0400)
A copy/paste error led to a link that didn't go anywhere in the "Borrow
similar online" case.

Signed-off-by: Dan Scott <dan@coffeecode.net>
Open-ILS/web/opac/skin/default/js/result_common.js

index c4b002e..691ecce 100644 (file)
@@ -742,7 +742,7 @@ function renderOpenLibraryLinks(response) {
             );
         } else if (ol_ebooks[isbn]['similar_lendable']) {
             createOpenLibraryLink(
-                isbn, ol_ebooks[isbn]['similar_full'], 'Borrow similar online'
+                isbn, ol_ebooks[isbn]['similar_lendable'], 'Borrow similar online'
             );
         }
     }