]> git.koha-community.org Git - koha.git/commit
Bug 13657 - Don't show extra comma after guarantor name on patron details
authorMarc Véron <veron@veron.ch>
Tue, 10 Feb 2015 15:37:41 +0000 (16:37 +0100)
committerChris Cormack <chris@bigballofwax.co.nz>
Fri, 13 Mar 2015 22:39:00 +0000 (11:39 +1300)
commit778ae6a30d565fe8da1b71a4410d21dad2a55637
tree00f403c2928590050b307c00d0af364bdaf8e738
parent02521f7ed2633816fc84c184fb2535500087721d
Bug 13657 - Don't show extra comma after guarantor name on patron details

This patch suppresses the first name part (including comma) if first name is empty. This way, first name is still displays with natural persons, but not with organizations.

To test:
Apply this patch (without the first patch).
Have one patron with a natural person as guarantor and one patron with an organization as guarantor. Verify that both display properly on the patron details page.

Signed-off-by: Jesse Maseto <Jesse@bywatersolutions.com>
Signed-off-by: Katrin Fischer <katrin.fischer.83@web.de>
Signed-off-by: Tomas Cohen Arazi <tomascohen@gmail.com>
(cherry picked from commit e0863d9711f6e63f627a6cca1450fde481e935e7)
Signed-off-by: Chris Cormack <chris@bigballofwax.co.nz>
koha-tmpl/intranet-tmpl/prog/en/modules/members/moremember.tt