]> 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)
committerTomas Cohen Arazi <tomascohen@gmail.com>
Wed, 11 Mar 2015 17:38:33 +0000 (14:38 -0300)
commite0863d9711f6e63f627a6cca1450fde481e935e7
tree18ee9863e56e7fada870c145b972c2f2c226d540
parent901fdce2c658bb4f19396d23a492e2dc6ce28375
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>
koha-tmpl/intranet-tmpl/prog/en/modules/members/moremember.tt