[open-ils-commits] r7907 - branches/rel_1_2/Open-ILS/xul/staff_client/server/circ

svn at svn.open-ils.org svn at svn.open-ils.org
Mon Oct 22 02:01:13 EDT 2007


Author: phasefx
Date: 2007-10-22 01:47:48 -0400 (Mon, 22 Oct 2007)
New Revision: 7907

Modified:
   branches/rel_1_2/Open-ILS/xul/staff_client/server/circ/util.js
Log:
handle ACTION_CIRCULATION_NOT_FOUND with renews

Modified: branches/rel_1_2/Open-ILS/xul/staff_client/server/circ/util.js
===================================================================
--- branches/rel_1_2/Open-ILS/xul/staff_client/server/circ/util.js	2007-10-22 05:45:52 UTC (rev 7906)
+++ branches/rel_1_2/Open-ILS/xul/staff_client/server/circ/util.js	2007-10-22 05:47:48 UTC (rev 7907)
@@ -1113,7 +1113,7 @@
 			switch(check.copy.status()) {
 				case 0: /* AVAILABLE */
 				case 7: /* RESHELVING */
-					if (msg) msg += 'This item needs to be routed to ' + check.route_to + '.';
+					if (msg) msg += 'This item needs to be routed to ' + check.route_to + '.\n';
 				break;
 				case 8: /* ON HOLDS SHELF */
 					check.route_to = 'HOLDS SHELF';
@@ -1320,6 +1320,7 @@
 						case 1213 /* PATRON_BARRED */ : break;
 						case 1215 /* CIRC_EXCEEDS_COPY_RANGE */ : break;
 						case 1224 /* PATRON_ACCOUNT_EXPIRED */ : break;
+						case 1500 /* ACTION_CIRCULATION_NOT_FOUND */ : break;
 						case 7002 /* PATRON_EXCEEDS_CHECKOUT_COUNT */ : break;
 						case 7003 /* COPY_CIRC_NOT_ALLOWED */ : break;
 						case 7004 /* COPY_NOT_AVAILABLE */ : break;



More information about the open-ils-commits mailing list