From: Jeff Davis Date: Thu, 23 Jul 2015 20:39:25 +0000 (-0700) Subject: Fix insertion of title identifier in availability URL X-Git-Url: https://old-git.evergreen-ils.org/?a=commitdiff_plain;h=refs%2Fheads%2Fuser%2Fjeffdavis%2Finvalid-guid-when-logged-in;p=contrib%2Foverdrive-eg-opac.git Fix insertion of title identifier in availability URL Signed-off-by: Jeff Davis --- diff --git a/src/od_api.coffee b/src/od_api.coffee index 4968c80..7811f4c 100644 --- a/src/od_api.coffee +++ b/src/od_api.coffee @@ -351,7 +351,7 @@ define [ url = if (alink = session.links.availability?.href) - alink.replace '{crId}', x.id # Use this link if logged in + alink.replace '{reserveId}', x.id # Use this link if logged in else "#{session.links.products.href}/#{x.id}/availability"