If you have a library that doesn't have card numbers set for its borrowers, reserves don't work. This needs to be modified to work with borrowernumber instead.
Created attachment 4520 [details] [review] Bug 6526 - make the reserves code use the borrowernumber Previously it used the cardnumber, which caused numerous issues if your users don't have card numbers.
robin, should this be tested with both borrowers with card numbers and those without, for completeness? LR
Yes, definitely. In theory there should be no difference in the way they work now. In practice, there may be. Testing with different configurations is always good :)
Created attachment 4522 [details] [review] [SIGNED OFF] Bug 6526 - make the reserves code use the borrowernumber Previously it used the cardnumber, which caused numerous issues if your users don't have card numbers.
Tested with both a patron with a card # and one without, in both OPAC and Intranet.
Pushed please test
I suspect this patch has caused Bug 6687 (cannot move people in the holds queue).
I think this has been sufficiently tested now :)