Bug 20606

Summary: Add the age column to statistics table
Product: Koha Reporter: Josef Moravec <josef.moravec>
Component: Architecture, internals, and plumbingAssignee: Josef Moravec <josef.moravec>
Status: NEW --- QA Contact: Testopia <testopia>
Severity: enhancement    
Priority: P5 - low CC: george, katrin.fischer
Version: Main   
Hardware: All   
OS: All   
Change sponsored?: --- Patch complexity: ---
Documentation contact: Documentation submission:
Text to go in the release notes:
Version(s) released in:
Bug Depends on:    
Bug Blocks: 18081    

Description Josef Moravec 2018-04-18 12:10:45 UTC
Useful for making statistics in some countries like Czech Republic or Germany.
Comment 1 Josef Moravec 2018-04-18 12:12:58 UTC
One question: does it make sense to calculate ages (if possible) during database update?
Comment 2 Katrin Fischer 2018-04-18 12:35:14 UTC
Maybe as an optional script? - I am not sure how it would take for a big table with many entries, especially as you'd want to calculate with the date of birth and timestamp (age when the entry was made).
Comment 3 Josef Moravec 2018-04-18 12:49:14 UTC
(In reply to Katrin Fischer from comment #2)
> Maybe as an optional script? - I am not sure how it would take for a big
> table with many entries, especially as you'd want to calculate with the date
> of birth and timestamp (age when the entry was made).

Yes, that was intended to make the calculation like this.

The optional script sound good to me. Thanks!
Comment 4 Katrin Fischer 2023-10-01 23:06:02 UTC
Maybe this could be replaced by bug 33013?