[open-ils-commits] r19085 - branches/rel_2_0/Open-ILS/xul/staff_client/server/patron (phasefx)

svn at svn.open-ils.org svn at svn.open-ils.org
Thu Dec 30 11:31:47 EST 2010


Author: phasefx
Date: 2010-12-30 11:31:45 -0500 (Thu, 30 Dec 2010)
New Revision: 19085

Modified:
   branches/rel_2_0/Open-ILS/xul/staff_client/server/patron/display.js
Log:
fix a bug with standing penalties and the stop sign page.  We still have a race condition where the stop sign page may not show, and this seems to happen when multiple patrons are retrieved at once from a patron search.

Modified: branches/rel_2_0/Open-ILS/xul/staff_client/server/patron/display.js
===================================================================
--- branches/rel_2_0/Open-ILS/xul/staff_client/server/patron/display.js	2010-12-30 16:29:53 UTC (rev 19084)
+++ branches/rel_2_0/Open-ILS/xul/staff_client/server/patron/display.js	2010-12-30 16:31:45 UTC (rev 19085)
@@ -931,7 +931,7 @@
                     obj.stop_checkouts = true;
                     }
                 }
-                var penalties = obj.patron.standing_penalties();
+                var penalties = patron.standing_penalties();
                 var dl_flag_opened = false;
                 for (var i = 0; i < penalties.length; i++) {
                     if (penalties[i].standing_penalty().block_list() || penalties[i].standing_penalty().id() == 20 /* ALERT_NOTE */) {



More information about the open-ils-commits mailing list