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)
committerMartin Renvoize <martin.renvoize@ptfs-europe.com>
Fri, 22 Jun 2018 06:36:09 +0000 (07:36 +0100)
commit50feb7a22d9d705b5381a99fcd93bcca2b942c81
tree9899ec196bc829bc217c8f121b616d3ccec62da7
parentade0f43866ebcfbef9c6fd7c105ad79abf8de50c
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: Martin Renvoize <martin.renvoize@ptfs-europe.com>
koha-tmpl/intranet-tmpl/prog/en/includes/patron-title.inc