[open-ils-commits] r19255 - trunk/Open-ILS/web/opac/skin/default/xml/result (dbs)

svn at svn.open-ils.org svn at svn.open-ils.org
Fri Jan 21 17:04:05 EST 2011


Author: dbs
Date: 2011-01-21 17:04:00 -0500 (Fri, 21 Jan 2011)
New Revision: 19255

Modified:
   trunk/Open-ILS/web/opac/skin/default/xml/result/result_table.xml
Log:
Protect against volumes with many copies attached

Bill Erickson has good data for testing these cases.


Modified: trunk/Open-ILS/web/opac/skin/default/xml/result/result_table.xml
===================================================================
--- trunk/Open-ILS/web/opac/skin/default/xml/result/result_table.xml	2011-01-21 20:53:12 UTC (rev 19254)
+++ trunk/Open-ILS/web/opac/skin/default/xml/result/result_table.xml	2011-01-21 22:04:00 UTC (rev 19255)
@@ -150,6 +150,9 @@
 											return output.innerHTML;
 										}
 										dojo.query('copy', vol).forEach(function (cp) {
+                                            if (item_cnt >= max_items) {
+                                                return;
+                                            }
 											if (cp.getAttribute('deleted') == 't') {
 												return;
 											}



More information about the open-ils-commits mailing list