[Koha-bugs] [Bug 35679] New: dateofbirthrequired column from categories table should be renamed

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Tue Jan 2 10:37:53 CET 2024


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

            Bug ID: 35679
           Summary: dateofbirthrequired column from categories table
                    should be renamed
 Change sponsored?: ---
           Product: Koha
           Version: master
          Hardware: All
                OS: All
            Status: NEW
          Severity: enhancement
          Priority: P5 - low
         Component: Architecture, internals, and plumbing
          Assignee: koha-bugs at lists.koha-community.org
          Reporter: pedro.amorim at ptfs-europe.com
        QA Contact: testopia at bugs.koha-community.org

git grep dateofbirthrequired

The column dateofbirthrequired in the categories table has a confusing name.
It sort of implies a boolean (i.e. whether date of birth is required or not),
but it's actually utilized as a lower age limit check in the business logic.

The column's comment states "the minimum age required for the patron category"
which is how the data in this column is utilized.

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