Bug 20606 - Add the age column to statistics table
Summary: Add the age column to statistics table
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: Josef Moravec
QA Contact: Testopia
URL:
Keywords:
Depends on:
Blocks: 18081
  Show dependency treegraph
 
Reported: 2018-04-18 12:10 UTC by Josef Moravec
Modified: 2023-10-01 23:06 UTC (History)
2 users (show)

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