Protect against volumes with many copies attached
authordbs <dbs@dcc99617-32d9-48b4-a31d-7c20da2025e4>
Fri, 21 Jan 2011 22:04:00 +0000 (22:04 +0000)
committerdbs <dbs@dcc99617-32d9-48b4-a31d-7c20da2025e4>
Fri, 21 Jan 2011 22:04:00 +0000 (22:04 +0000)
Bill Erickson has good data for testing these cases.

git-svn-id: svn://svn.open-ils.org/ILS/trunk@19255 dcc99617-32d9-48b4-a31d-7c20da2025e4

Open-ILS/web/opac/skin/default/xml/result/result_table.xml

index a0a502d..77b35f5 100644 (file)
                                                                                        return output.innerHTML;
                                                                                }
                                                                                dojo.query('copy', vol).forEach(function (cp) {
+                                            if (item_cnt >= max_items) {
+                                                return;
+                                            }
                                                                                        if (cp.getAttribute('deleted') == 't') {
                                                                                                return;
                                                                                        }