]> git.koha-community.org Git - koha.git/commit
Bug 33457: Improve display of fund users when the patron has no firstname
authorOwen Leonard <oleonard@myacpl.org>
Tue, 16 Jan 2024 12:57:34 +0000 (12:57 +0000)
committerLucas Gass <lucas@bywatersolutions.com>
Fri, 9 Feb 2024 20:29:35 +0000 (20:29 +0000)
commitb0985ad3a4b9139272c68cd2a33ea906e992e973
tree0cddcde2e8f437d1b9eb26d229bad4f8b241e6ad
parent26ae8787371c81180ab1f3a3c2b10c99eb93fdfd
Bug 33457: Improve display of fund users when the patron has no firstname

This patch updates the way the fund modification page handles patron
names so that a patron with only a first name or only a surname will
have their name appear correctly when selected as a manager or a user.

To test, apply the patch if necessary, create a patron with only a first
name and one with only a surname and give them acquisitions permissions.

- Go to Administration -> Funds.
- Edit a fund.
- Click 'Add users'.
- Select a user, only staff users will be searchable
- Select one of the patrons you created.
  - The patron name should appear correctly
  - Test with both your first name only patron and your last name only
    patron.
- Perform the same test with the 'Select owner' process.

Signed-off-by: Lucas Gass <lucas@bywatersolutions.com>
Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>
Signed-off-by: Katrin Fischer <katrin.fischer@bsz-bw.de>
(cherry picked from commit 00ed806d204f60acb419052f177001d5a76b1310)
Signed-off-by: Fridolin Somers <fridolin.somers@biblibre.com>
(cherry picked from commit c5dc3cf3f49ec8e6ad1b7909ad1db939df8d2ad8)
Signed-off-by: Lucas Gass <lucas@bywatersolutions.com>
koha-tmpl/intranet-tmpl/prog/en/includes/patron-search.inc
koha-tmpl/intranet-tmpl/prog/en/modules/admin/aqbudgets.tt