Bug 20981: Fix organization name when displaying patron's info
authorJonathan Druart <jonathan.druart@bugs.koha-community.org>
Thu, 21 Jun 2018 20:34:17 +0000 (17:34 -0300)
committerNick Clemens <nick@bywatersolutions.com>
Fri, 22 Jun 2018 13:16:44 +0000 (13:16 +0000)
commit9e7062a0a6d1bd938675b18c13fc7a521615f44f
tree8b70c9289cd1f360fc626982d0a12b3127d18122
parent20c927c5d0fd84d34e00bc5042113825ae53869e
Bug 20981: Fix organization name when displaying patron's info

Caused by bug 18403.
From patron-title.inc, we need a IF instead of UNLESS.

Test plan:
Create organizations
Search for patrons
=> Without this patch the "Name" column is empty for organizations
=> With this patch applied you will see the surname (and othernames if
exists)

Signed-off-by: Katrin Fischer <katrin.fischer.83@web.de>
Signed-off-by: Nick Clemens <nick@bywatersolutions.com>
koha-tmpl/intranet-tmpl/prog/en/includes/patron-title.inc