[open-ils-commits] r19256 - branches/rel_2_0/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:09:28 EST 2011
Author: dbs
Date: 2011-01-21 17:09:22 -0500 (Fri, 21 Jan 2011)
New Revision: 19256
Modified:
branches/rel_2_0/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: branches/rel_2_0/Open-ILS/web/opac/skin/default/xml/result/result_table.xml
===================================================================
--- branches/rel_2_0/Open-ILS/web/opac/skin/default/xml/result/result_table.xml 2011-01-21 22:04:00 UTC (rev 19255)
+++ branches/rel_2_0/Open-ILS/web/opac/skin/default/xml/result/result_table.xml 2011-01-21 22:09:22 UTC (rev 19256)
@@ -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