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)
committerKatrin Fischer <katrin.fischer@bsz-bw.de>
Fri, 26 Jan 2024 14:13:58 +0000 (15:13 +0100)
commit074684eaf4f7845e6ad3cb50bd5f941dc5783746
tree7803eb079bf57b01cbd1fb9ddb91d889b68d0416
parent241fb630f1a170a5866ddcb4963b1f18508ad8e5
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>
tools/modborrowers.pl