https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=25193 --- Comment #21 from Aleisha Amohia <aleisha@catalyst.net.nz> --- (In reply to Katrin Fischer from comment #17)
(In reply to Jonathan Druart from comment #15) I understand that the goal is that a renewal should be prevented, if there is a another pending hold where the pickup library matches the holding branch (checkout library) of the item to be renewed. Is that correct?
I think it might be unlikely for a patron to place multiple holds on a record for pick-up at different libraries, but it would be possible. So looping through all existing holds seems logical to me.
But I am feeling unsure here about why we are interested in the holds of a specific patron... are we not interested in looking at the holds for this specific record in general?
Thank you both for your thoughts. I ended up taking out the loop entirely because at that point we are already looping through the fillable holds on this biblio. Hopefully that will suffice. -- You are receiving this mail because: You are watching all bug changes.