Under some circumstances there are extra or missing spaces around the information displayed by patron-title.inc, particularly the "othername" value.
Created attachment 191216 [details] [review] Bug 41586: Fix spacing problem in display of patron names This patch updates patron-title.inc which generates the output of patron names throughout Koha. Some whitespace is added to the display of borrowers.othernames and spaces removed from the maybe_span WRAPPER. To test, apply the patch and create or edit a patron in the staff client. - Add a value to all the name fields: Surname, first name, preferred name, middle name, and other name. - Save the patron and check the display of their name on the patron detail page. The name in the page heading and sidebar should have correct spacing. - Place a hold for that patron to be picked up at the logged-in library. - Go to Circulation -> Holds to pull and confirm that the patron name is displayed correctly (this tests the display when the format is lastname, firstname). - Edit the same patron and change its category to an organizational one (Inter-Library Loan, Library, or School in the sample data). - View the same pages listed above and confirm that the name displays correctly. Sponsored-by: Athens County Public Libraries