[Koha-bugs] [Bug 16795] New: Patron categories: Accept integers only for enrolment period and age limits

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Wed Jun 22 07:50:02 CEST 2016


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

            Bug ID: 16795
           Summary: Patron categories: Accept integers only for enrolment
                    period and age limits
 Change sponsored?: ---
           Product: Koha
           Version: master
          Hardware: All
                OS: All
            Status: NEW
          Severity: trivial
          Priority: P5 - low
         Component: Patrons
          Assignee: koha-bugs at lists.koha-community.org
          Reporter: veron at veron.ch
        QA Contact: testopia at bugs.koha-community.org
                CC: gmcharlt at gmail.com, kyle.m.hall at gmail.com

When creating / editing patron categories, it is possible to enter decimal
values for enrolment period and age limits, but vaules are stored as integers
(rounded up or down). 

For example it is possible to enter 0.1 for enrolment period, the value stored
will be 0, and the table on page "Patron categories" will show a bare 'until'
in column 'Enrolment period'.

The fields 'Enrolmentperiod', 'Age required' and  'Upperage limit' should
accept integers only.

-- 
You are receiving this mail because:
You are watching all bug changes.
You are the assignee for the bug.


More information about the Koha-bugs mailing list