Bug 3666

Summary: Overriding renewal limit results in negative count in OPAC display
Product: Koha Reporter: Owen Leonard <oleonard>
Component: OPACAssignee: Owen Leonard <oleonard>
Status: CLOSED FIXED QA Contact:
Severity: normal    
Priority: PATCH-Sent (DO NOT USE) CC: chris, gmcharlt, nengard
Version: Main   
Hardware: All   
OS: All   
Change sponsored?: --- Patch complexity: ---
Documentation contact: Documentation submission:
Text to go in the release notes:
Version(s) released in:
Attachments: Proposed fix

Description Chris Cormack 2010-05-21 01:13:29 UTC


---- Reported by oleonard@myacpl.org 2009-09-25 13:12:02 ----

After overriding the renewal limit for a couple of items I notice this in the OPAC:

Not renewable (-2 of 2 renewals remaining)

The OPAC should always say 0 if the number of renewals is greater than the number of allowed renewals.



---- Additional Comments From oleonard@myacpl.org 2010-05-07 17:32:06 ----

Created an attachment
Proposed fix





---- Additional Comments From gmcharlt@gmail.com 2010-05-11 10:02:25 ----

Patch pushed.  Please test and close.



---- Additional Comments From nengard@gmail.com 2010-05-14 12:59:04 ----

Looks a-ok to me.



--- Bug imported by chris@bigballofwax.co.nz 2010-05-21 01:13 UTC  ---

This bug was previously known as _bug_ 3666 at http://bugs.koha.org/cgi-bin/bugzilla3/show_bug.cgi?id=3666
Imported an attachment (id=1500)

Actual time not defined. Setting to 0.0
The original submitter of attachment 1500 [details] [review] is unknown.
   Reassigning to the person who moved it here: chris@bigballofwax.co.nz.