[Koha-bugs] [Bug 15400] Display patron age in useful places

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Fri Feb 22 09:44:06 CET 2019


https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=15400

--- Comment #24 from Katrin Fischer <katrin.fischer at 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.


More information about the Koha-bugs mailing list