Bug 42140: Add a space between patron name and relationship

There is no space between the guarantor name and relationship on the
patron's details page in the staff interface, for example:
Henry Acevedo(father).

Test plan:
1. Go to Patrons.
2. Search for Lisa Charles (borrower number = 37).
3. Select Edit.
4. In the patron guarantor section, click on "Add guarantor":
   - Search for and select Henry as the guarantor
   - For relationship, select an option
5. Click Save.
6. Go to the details section.
7. Note that under the Guarantor heading there is no space between the
   guarantor's surname and the relationship,
   for example: Henry Acevedo(father)
8. Apply the patch.
9. Refresh the page.
10. Note that there is now a space between the surname and relationship.

Signed-off-by: David Nind <david@davidnind.com>
Signed-off-by: Laura_Escamilla <laura.escamilla@bywatersolutions.com>
Signed-off-by: Lucas Gass <lucas@bywatersolutions.com>
(cherry picked from commit 1357768b00)
Signed-off-by: Jacob O'Mara <Jacob.omara@openfifth.co.uk>
This commit is contained in:
David Nind 2026-04-26 18:02:21 +00:00 committed by Jacob O'Mara
parent e45c463f70
commit f2a080323e
No known key found for this signature in database
1 changed files with 1 additions and 1 deletions

View File

@ -271,7 +271,7 @@
[% IF logged_in_user.can_see_patron_infos( guarantor ) %]
<li
><a href="/cgi-bin/koha/members/moremember.pl?borrowernumber=[% guarantor.id | uri %]"
>[% guarantor.preferred_name | html %] [% guarantor.surname | html %][% IF gr.relationship %]([% gr.relationship | html %])[% END %]</a
>[% guarantor.preferred_name | html %] [% guarantor.surname | html %] [% IF gr.relationship %]([% gr.relationship | html %])[% END %]</a
></li
>
[% END %]