[Koha-bugs] [Bug 1374] New: Fix Issuing rules

bugzilla-daemon at pippin.metavore.com bugzilla-daemon at pippin.metavore.com
Sat Jul 7 22:20:12 CEST 2007


http://bugs.koha.org/cgi-bin/bugzilla/show_bug.cgi?id=1374

           Summary: Fix Issuing rules
           Product: Koha
           Version: branch 2.2
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: normal
          Priority: P3
         Component: Circulation
        AssignedTo: chris.cormack at liblime.com
        ReportedBy: devin at freeshell.org
         QAContact: koha-bugs at nongnu.org


The issuingrules.pl page has two problems:
     * The maxissueqty and issuelength fields are never displayed.  The fields
are always blank, even if they have valid data in the database.
     * The fine is displayed with about 9 decimal places, making it very
difficult to read since the field for fine, reminder, and period isn't large
enough.

This patch does two things:
     * It refractors the logic for wether maxissueqty and issuelength should be
displayed.  Now it works.  I don't know why - changing it was just my first
step in debugging.
     * It strips trailing zeros after the decimal place for the fine, and if
that leaves no numbers after the decimal, it strips the decimal also.

My Setup:
Windows Server 2003 SP1
Apache/2.0.58
MySQL 5.0.22-community-nt
ActivePerl 5.8.8-517
Koha 2.2.8
Active Directory LDAP Auth




------- You are receiving this mail because: -------
You are the QA contact for the bug, or are watching the QA contact.





More information about the Koha-bugs mailing list