set the cancel cause field when patrons cancel holds. There's a holdsCancel function...
authorphasefx <phasefx@dcc99617-32d9-48b4-a31d-7c20da2025e4>
Tue, 26 Apr 2011 15:49:11 +0000 (15:49 +0000)
committerphasefx <phasefx@dcc99617-32d9-48b4-a31d-7c20da2025e4>
Tue, 26 Apr 2011 15:49:11 +0000 (15:49 +0000)
git-svn-id: svn://svn.open-ils.org/ILS/trunk@20320 dcc99617-32d9-48b4-a31d-7c20da2025e4

Open-ILS/web/opac/skin/default/js/myopac.js

index 8f136b1..12fbaf1 100644 (file)
@@ -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':