Bug 35817: Fix hint on patron's category when batch update patron
authorJonathan Druart <jonathan.druart@bugs.koha-community.org>
Tue, 16 Jan 2024 12:41:59 +0000 (13:41 +0100)
committerLucas Gass <lucas@bywatersolutions.com>
Fri, 9 Feb 2024 20:22:31 +0000 (20:22 +0000)
commit49256cb4848830c3989b041bbbbbe393f19018e7
tree5c64c24087417b7842c9129500952b429f60d6d2
parentcaa21f9fbac278599370b5e63c2ebdbf367dbed0
Bug 35817: Fix hint on patron's category when batch update patron

When a patron's attribute is limited to a given patron's category, the
batch patron modification tool will display a hint "This attribute will
be only applied to the patron's category %s". But this is followed by
the description of the patron's attribute, not the patron's category.

Test plan:
Create a patron's attribute "Color of hair" and select a patron
category (Patron).
Batch edit batch and select "Color of hair"
A hint will be display.
=> Without this patch the hint is "This attribute will be only applied
   to the patron's category Color of hair"
=> With this patch it will be corrected to "This attribute will be only
   applied to the patron's category Patron"

Signed-off-by: Anneli Österman <anneli.osterman@koha-suomi.fi>
Signed-off-by: Julian Maurice <julian.maurice@biblibre.com>
Signed-off-by: Katrin Fischer <katrin.fischer@bsz-bw.de>
(cherry picked from commit 074684eaf4f7845e6ad3cb50bd5f941dc5783746)
Signed-off-by: Fridolin Somers <fridolin.somers@biblibre.com>
(cherry picked from commit 5809d746d4f148817812de2b685083664e8b6806)
Signed-off-by: Lucas Gass <lucas@bywatersolutions.com>
tools/modborrowers.pl