Comment 2 for bug 1522635

Revision history for this message
Bill Erickson (berick) wrote :

Code pushed:

http://git.evergreen-ils.org/?p=working/Evergreen.git;a=shortlog;h=refs/heads/user/berick/lp1522635-webstaff-lost-co-err

I did not specifically test copies other then LOST, but this should resolve those as well. In short, the API call used to fetch the open circ only fleshed the open circs when the copy in question had a status of checked-out. In the case of LOST, etc, the .circulations() array was null (causing an exception). I replaced that call with a pcrud call, which fetches the circ regardless of the copy status.