Bug 5805: Having items in-transit can cause derangement of the hold list
authorruth@bywatersolutions.com <ruth@bywatersolutions.com>
Sun, 20 Feb 2011 23:24:38 +0000 (18:24 -0500)
committerChris Cormack <chrisc@catalyst.net.nz>
Sat, 26 Feb 2011 07:44:01 +0000 (20:44 +1300)
commit0b961c0ae0dd03be18301852be37f7173be87856
tree753d6b502fd4930ad4acfff824b8560e61ba4d7e
parent74cdd57ecb28a3f6b443c70274528c1ae5daf352
Bug 5805: Having items in-transit can cause derangement of the hold list

If you have a list of holds on a biblio, and one or more are in-transit, then the
array that is fed to modrequest.pl is not fully-populated, lacking the branch on the
in-transit rows.  If you then attempt to edit one of the remaining holds' pickup
location, it doesn't modify the one you expect, but ones *above* that.  Also, holds
at the bottom of the list get the first pickup library in the list, since they are
getting undef passed in.

Signed-off-by: Nicole C. Engard <nengard@bywatersolutions.com>
Signed-off-by: Chris Cormack <chrisc@catalyst.net.nz>
koha-tmpl/intranet-tmpl/prog/en/modules/reserve/request.tmpl