Bug 20981

Summary: Organization name missing from patron search results
Product: Koha Reporter: Owen Leonard <oleonard>
Component: PatronsAssignee: Jonathan Druart <jonathan.druart+koha>
Status: CLOSED FIXED QA Contact: Testopia <testopia>
Severity: major    
Priority: P5 - low CC: gmcharlt, jonathan.druart+koha, katrin.fischer, kyle.m.hall, martin.renvoize, nick
Version: master   
Hardware: All   
OS: All   
Change sponsored?: --- Patch complexity: Trivial patch
Documentation contact: Documentation submission:
Text to go in the release notes:
Version(s) released in:
Bug Depends on: 18403    
Bug Blocks:    
Attachments: Bug 20981: Fix organization name when displaying patron's info
Bug 20981: Fix organization name when displaying patron's info

Description Owen Leonard 2018-06-21 18:51:08 UTC
If I search for patrons limited by an institutional patron category, none of the results show a name. git bisect says this bug was introduced by Bug 18403, Use patron-title.inc when hidepatronname is used.
Comment 1 Jonathan Druart 2018-06-21 20:39:57 UTC Comment hidden (obsolete)
Comment 2 Katrin Fischer 2018-06-22 05:56:21 UTC
Created attachment 76249 [details] [review]
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

Signed-off-by: Katrin Fischer <katrin.fischer.83@web.de>
Comment 3 Katrin Fischer 2018-06-22 05:57:38 UTC
Moving to past QA - Martin, can you take this for 18.05.01 please? Changes a template, but no text changes, so should be ok for translations.
Comment 4 Nick Clemens 2018-06-22 13:50:27 UTC
Awesome work all!

Pushed to master for 18.11.x
Comment 5 Martin Renvoize 2018-06-25 17:32:20 UTC
Pushed to 18.05.x for 18.05.01