Bug 35745: Fix 'Set suggester' of a suggestion
authorJonathan Druart <jonathan.druart@bugs.koha-community.org>
Tue, 9 Jan 2024 12:16:40 +0000 (13:16 +0100)
committerKatrin Fischer <katrin.fischer@bsz-bw.de>
Mon, 29 Jan 2024 11:25:00 +0000 (12:25 +0100)
commitf7171c0a6c61769719afcd0d5e70d1aad3d2a27b
treef1a3075979ae4b19e7519d70c9cdd1dbac675f33
parent5464d1109986d9d082494910f4db5dc7228b5800
Bug 35745: Fix 'Set suggester' of a suggestion

On the suggestion edit form, if a suggester is selected using the "Set
to patron" (and patron search), the details of the selected patron will
contained "undefined" for the library's name and patron's category
description.

Test plan:
Edit a suggestion, click "Set to patron", select a patron
Notice that with this patch the library's name and patron category is
correctly displayed.

Signed-off-by: Owen Leonard <oleonard@myacpl.org>
Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>
Signed-off-by: Katrin Fischer <katrin.fischer@bsz-bw.de>
koha-tmpl/intranet-tmpl/prog/en/modules/suggestion/suggestion.tt