]> git.evergreen-ils.org Git - Evergreen.git/commit
LP#1269042: prevent acq seach from building dropdown of every copy ID in the DB
authorGalen Charlton <gmc@esilibrary.com>
Tue, 14 Jan 2014 16:00:38 +0000 (11:00 -0500)
committerMike Rylander <mrylander@gmail.com>
Tue, 14 Jan 2014 16:17:44 +0000 (11:17 -0500)
commit6ee0254486437cab78142de82bbc730b0b4c880f
tree7457e936c8e926778a5a0d5767e3031127dad704
parentdf48a860b50af34562b8a728a60b789de62f5004
LP#1269042: prevent acq seach from building dropdown of every copy ID in the DB

This patch ensures that if a user sets a search field in the
acquisitions general search form to the line item details copy ID
(labeled "LID - Evergreen Copy ID"), the form presents a normal
input widget rather than trying to build a drop-down containing
every copy ID in the database.  Except for very small databases,
the previous behavior would mean that an open-ils.pcrud backend
would eventually consume a great deal of memory trying to service
a request for all copies in the system.

Signed-off-by: Galen Charlton <gmc@esilibrary.com>
Signed-off-by: Mike Rylander <mrylander@gmail.com>
Open-ILS/web/js/ui/default/acq/search/unified.js