Bug 35679 - dateofbirthrequired column from categories table should be renamed
Summary: dateofbirthrequired column from categories table should be renamed
Status: NEW
Alias: None
Product: Koha
Classification: Unclassified
Component: Architecture, internals, and plumbing (show other bugs)
Version: Main
Hardware: All All
: P5 - low enhancement (vote)
Assignee: Bugs List
QA Contact: Testopia
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2024-01-02 09:37 UTC by Pedro Amorim
Modified: 2024-01-02 12:36 UTC (History)
0 users

See Also:
Change sponsored?: ---
Patch complexity: ---
Documentation contact:
Documentation submission:
Text to go in the release notes:
Version(s) released in:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Pedro Amorim 2024-01-02 09:37:53 UTC
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.