projects
/
contrib
/
overdrive-eg-opac.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5ddc721
)
Fix insertion of title identifier in availability URL
user/jeffdavis/invalid-guid-when-logged-in
author
Jeff Davis
<jdavis@sitka.bclibraries.ca>
Thu, 23 Jul 2015 20:39:25 +0000
(13:39 -0700)
committer
Jeff Davis
<jdavis@sitka.bclibraries.ca>
Thu, 23 Jul 2015 20:39:58 +0000
(13:39 -0700)
Signed-off-by: Jeff Davis <jdavis@sitka.bclibraries.ca>
src/od_api.coffee
patch
|
blob
|
history
diff --git
a/src/od_api.coffee
b/src/od_api.coffee
index
4968c80
..
7811f4c
100644
(file)
--- a/
src/od_api.coffee
+++ b/
src/od_api.coffee
@@
-351,7
+351,7
@@
define [
url =
if (alink = session.links.availability?.href)
- alink.replace '{
cr
Id}', x.id # Use this link if logged in
+ alink.replace '{
reserve
Id}', x.id # Use this link if logged in
else
"#{session.links.products.href}/#{x.id}/availability"