https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=26659

Joonas Kylmälä <[email protected]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
 Attachment #111517|0                           |1
        is obsolete|                            |

--- Comment #3 from Joonas Kylmälä <[email protected]> ---
Created attachment 111522
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=111522&action=edit
Bug 26659: Fix incorrect comparison in checkout renewability

The syntax used here was wrong and it allowed incorrectly to renew
checkouts which should not have been allowed because there were
holds waiting to be filled. This scenario can be reproduced at least
with using local hold groups.

To test:

1. In the circ rules for all libraries under "Default holds policy by item
type" section
   select for itemtype Book the policies "From local hold group" and "patron's
hold group"
2. Enable AllowRenewalIfOtherItemsAvailable
3. Create local hold group for branch A and branch B
(/cgi-bin/koha/admin/library_groups.pl)
4. Create biblio with 2 items of itemtype Book, one in branch A and other in B
5. Checkout item from branch A to patron PA
6. Create bib level hold for patron PB whose home library is branch A.
7. Try go to renew now the loan for patron PA and notice it would work
8. Apply patch
9. Try to go renew the loan for patron PA and notice it doesn't work.

-- 
You are receiving this mail because:
You are watching all bug changes.
_______________________________________________
Koha-bugs mailing list
[email protected]
https://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/

Reply via email to