From: phasefx <phasefx@dcc99617-32d9-48b4-a31d-7c20da2025e4>
Date: Tue, 26 Apr 2011 15:49:27 +0000 (+0000)
Subject: set the cancel cause field when patrons cancel holds.  There's a holdsCancel function... 
X-Git-Url: https://old-git.evergreen-ils.org/?a=commitdiff_plain;h=6829d2b9277e386925288209f6e45d4ec58993db;p=evergreen%2Fjoelewis.git

set the cancel cause field when patrons cancel holds.  There's a holdsCancel function that also does this, but it never gets called by anything


git-svn-id: svn://svn.open-ils.org/ILS/branches/rel_2_1@20321 dcc99617-32d9-48b4-a31d-7c20da2025e4
---

diff --git a/Open-ILS/web/opac/skin/default/js/myopac.js b/Open-ILS/web/opac/skin/default/js/myopac.js
index 8f136b1146..12fbaf1828 100644
--- a/Open-ILS/web/opac/skin/default/js/myopac.js
+++ b/Open-ILS/web/opac/skin/default/js/myopac.js
@@ -1633,7 +1633,7 @@ function myopacProcessHolds(action, thawDate) {
         switch(action) { 
 
             case 'cancel':
-                req = new Request(CANCEL_HOLD, G.user.session, hold.id());
+	            req = new Request(CANCEL_HOLD, G.user.session, hold.id(), /* Patron via OPAC */ 6);
                 break;
     
             case 'thaw':