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)
committerFridolin Somers <fridolin.somers@biblibre.com>
Thu, 1 Feb 2024 14:42:46 +0000 (15:42 +0100)
commit56b675687f420ba1cefd323f81c8ff2de42058ba
treeb324546d3b9663c7dc0c8f6db65a96505be59108
parentf9be00361c0ebc649aace0f7b9d422a07db754e6
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>
(cherry picked from commit f7171c0a6c61769719afcd0d5e70d1aad3d2a27b)
Signed-off-by: Fridolin Somers <fridolin.somers@biblibre.com>
koha-tmpl/intranet-tmpl/prog/en/modules/suggestion/suggestion.tt