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

Marie-Luce Laflamme <[email protected]> changed:

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

--- Comment #8 from Marie-Luce Laflamme <[email protected]> ---
Created attachment 188105
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=188105&action=edit
Bug 41017: Show if item is on hold even if OverduesBlockRenewing is on

"On hold" is useful for librarians and we should show it whether or not the
item is overdue.

There has been several attempts to fix this problem, in
C4::Circulation::CanBookBeRenewed,
but this patch suggests to have a dedicated (ugly) test for this
specific situation.

Test plan (from Caroline comment 0):
1. Go to a patron's account and checkout with a past date to create an overdue
checkout
2. Place a hold for the same item for another patron
3. View the first patron's checkouts
   --> In the "Renew" column, it says "On hold"

4. Enable AllowRenewalOnHoldOverride
5. Go back to the patron's checkouts
   --> The "Renew" column should still say "On hold"
6. Check the "Override renewal restrictions" box
   --> A check box appears in the "Renew" column, which still displays "On
hold" nonetheless

7. Enable OverduesBlockRenewing ("block renewing for all the patron's items")
(I think both blocks should work in this scenario, but the library has it set
to all)
8. Enable AllowRenewalLimitOverride
9. Go back to the patron's checkouts
   --> The "Renew" column displays "Not allowed: overdue" with mention of on
hold
10. Check the "Override renewal restrictions" box
   --> A check box appears in the "Renew" column with mention of on hold

The "On hold" mention is displayed whether or not the item is overdue.

Signed-off-by: Marie-Luce Laflamme <[email protected]>

-- 
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