set the cancel cause field when patrons cancel holds. There's a holdsCancel function...
[evergreen-equinox.git] / 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':