[Bug 15400] Display patron age in useful places
4 Mar
2020
4 Mar
'20
2:44 p.m.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=15400 --- Comment #57 from Jonathan Druart <jonathan.druart@bugs.koha-community.org> --- + [%- IF ( patron.get_age ) %] ([% patron.get_age | html %] years) + [%- ELSIF ( patron.age ) %] ([% patron.age | html %] years)[% END -%] That smells. You should either test for the type of patron, or pass another variable patron_object vs patron or patron vs borrower (that reads wrong but it is what is usually done in controllers) -- You are receiving this mail because: You are watching all bug changes.
2324
Age (days ago)
2324
Last active (days ago)
0 comments
1 participants
participants (1)
-
bugzilla-daemon@bugs.koha-community.org