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

            Bug ID: 43771
           Summary: Override ability for "no renewal before" part of
                    AllowRenewalLimitOverride is not working from patron
                    accounts unless another block exists
   Initiative type: ---
        Sponsorship ---
            status:
           Product: Koha
           Version: 26.05
          Hardware: All
                OS: All
            Status: NEW
          Severity: normal
          Priority: P5 - low
         Component: Circulation
          Assignee: [email protected]
          Reporter: [email protected]
        QA Contact: [email protected]
                CC: [email protected], [email protected]
  Target Milestone: ---

The starred part of AllowRenewalLimitOverride is not working when overriding
renewals from a patron's account unless there is another block such as a hold:
"[Allow/Don't allow] staff to manually override renewal blocks and renew a
checkout when it would go over the renewal limit or *be premature for the "No
renewal before" setting in the circulation policy* or has been scheduled for
automatic renewal." However, if there is a second block on the renewal (for
instance, another patron's hold on the bib), the override works even when it is
still premature. To recreate:

Setup:
-Set AllowRenewalLimitOverride to [Allow]
-Set AllowRenewalOnHoldOverride to [Allow]
-Use a staff account with superlibrarian permissions
-Set a circ policy to check out an item type for 5 days, 2 renewals allowed,
'No renewal before' set to 1

Part 1:
-Find a bib with a single item and no holds, and check it out to a test patron
-In the patron's account, click the 'Override renewal restrictions' box - note
that no checkbox populates in the patron's checkout table, making it impossible
to renew the item early
-Go to Circulation > Renew, and input the barcode - note that the renewal is
possible via override, which is correct per the system preference (message:
[Title/barcode] cannot be renewed before [date].)
-Renew the item
-Renew again from Circulation (use all available renewals)
-Return to the patron's account
-Click the 'Override renewal restrictions' box, and note that an override
option shows in the patron's checkout table now 0 renewals are remaining
(correct per the "when it would go over the renewal limit" part of the system
preference)

Part 2:
-Return the test item
-Check the same item out to your test patron
-In the patron's account, click the 'Override renewal restrictions' box - no
checkbox populates
-Go to the bib, and place a hold for another patron
-In the original patron's account, click the 'Override renewal restrictions'
box - an override option now shows in the patron's checkout table 

The behavior described above is the same (no override from the patron account
unless there's a hold on the bib) when a hold is early due to the 'No automatic
renewal before' circ setting.

-- 
You are receiving this mail because:
You are the assignee for the bug.
You are watching all bug changes.
_______________________________________________
Koha-bugs mailing list -- [email protected]
To unsubscribe send an email to [email protected]
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/

Reply via email to