Bug 41321

Summary: Calculation of patron age is not always done the same
Product: Koha Reporter: Lucas Gass (lukeg) <lucas>
Component: PatronsAssignee: Bugs List <koha-bugs>
Status: NEW --- QA Contact: Testopia <testopia>
Severity: normal    
Priority: P5 - low CC: gmcharlt, kebliss, kyle
Version: Main   
Hardware: All   
OS: All   
GIT URL: Initiative type: ---
Sponsorship status: --- Comma delimited list of Sponsors:
Crowdfunding goal: 0 Patch complexity: ---
Documentation contact: Documentation submission:
Text to go in the release notes:
Version(s) released in:
Circulation function:

Description Lucas Gass (lukeg) 2025-11-26 20:42:49 UTC
On the left side of the patron page is patroninfo, that includes the patron's age in parenthesis. class = age_years

In a patron search there is agehint. 


These are calculated differently and if the patron's dateofbirth is tomorrow this can lead to inconsistencies between the two. 

We should calculate a patron's age in a standard way instead of using 2 different sets of logic.