[open-ils-commits] r13280 - trunk/Open-ILS/xul/staff_client/server/circ (phasefx)

svn at svn.open-ils.org svn at svn.open-ils.org
Mon Jun 1 15:59:01 EDT 2009


Author: phasefx
Date: 2009-06-01 15:58:57 -0400 (Mon, 01 Jun 2009)
New Revision: 13280

Modified:
   trunk/Open-ILS/xul/staff_client/server/circ/util.js
Log:
fixing logic error for the Available On column in various hold list interfaces.  Stealing Jeff's fix instead of coming up with if/else mangling.  Can't test right away, so will backport later

Modified: trunk/Open-ILS/xul/staff_client/server/circ/util.js
===================================================================
--- trunk/Open-ILS/xul/staff_client/server/circ/util.js	2009-06-01 19:54:26 UTC (rev 13279)
+++ trunk/Open-ILS/xul/staff_client/server/circ/util.js	2009-06-01 19:58:57 UTC (rev 13280)
@@ -1328,7 +1328,7 @@
 				if (my.ahr.transit() && my.ahr.transit().dest_recv_time()) {
 					return my.ahr.transit().dest_recv_time().toString();
 				}
-				if (my.ahr.capture_time()) {
+				if (!my.ahr.transit() && my.ahr.capture_time()) {
 					return my.ahr.capture_time().toString();
 				}
 				return "";



More information about the open-ils-commits mailing list