acquisitions general search can try to retrieve all copies in the database
Bug #1269042 reported by
Galen Charlton
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | ||
---|---|---|---|---|---|---|
Evergreen | Status tracked in Main | |||||
2.4 |
Fix Released
|
Low
|
Unassigned | |||
2.5 |
Fix Released
|
Low
|
Unassigned | |||
Main |
Fix Released
|
Low
|
Unassigned |
Bug Description
When using the acquisitions general search form, setting a search field to "LID - Evergreen Copy ID" will cause the form to try to create a drop-down widget containing the ID of every copy in the database. Except for very small databases, this will not work, as it will take forever and will cause a PCRUD backend to consume a large amount of memory on the server.
Expected behavior: the appropriate widget for a copy ID search is an ordinary text input. An argument could be made that acqlid.eg_copy_id shouldn't even be an option at all, as it would be of dubious use for normal staff.
Evergreen master
tags: | added: acquisitions |
To post a comment you must log in.
A patch is available in the user/gmcharlt/ lp1269042_ avoid_making_ acp_id_ dropdown branch of the working/Evergreen repository:
http:// git.evergreen- ils.org/ ?p=working/ Evergreen. git;a=shortlog; h=refs/ heads/user/ gmcharlt/ lp1269042_ avoid_making_ acp_id_ dropdown