[Bug 15400] Display patron age in useful places
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=15400 --- Comment #24 from Katrin Fischer <katrin.fischer@bsz-bw.de> --- (In reply to Josef Moravec from comment #22)
Comment on attachment 85497 [details] [review] Bug 15400: (followup) Adding age to check out search dropdown
Review of attachment 85497 [details] [review]: -----------------------------------------------------------------
::: circ/ysearch.pl @@ +85,4 @@
firstname => $b->firstname // '', cardnumber => $b->cardnumber // '', dateofbirth => format_sqldatetime($b->dateofbirth, undef, undef, 1) // '', + age => $b->get_age // 'Age unknown',
This is bad, string 'Age unknown' is not translatable
When woudl this display? I think if the user has no date of birth, we should just display 'nothing'. Thx Josef for spotting this! I also liked the 'years'. -- You are receiving this mail because: You are watching all bug changes.
participants (1)
-
bugzilla-daemon@bugs.koha-community.org