]> git.koha-community.org Git - koha.git/commit
Bug 29416: (bug 28941 follow-up) Restore suggestion prefill
authorJonathan Druart <jonathan.druart@bugs.koha-community.org>
Fri, 5 Nov 2021 09:13:47 +0000 (10:13 +0100)
committerFridolin Somers <fridolin.somers@biblibre.com>
Fri, 12 Nov 2021 23:17:20 +0000 (13:17 -1000)
commit668c5a9a3542ff17cb15ea73d82936fccadb957c
tree8170d525a5c183daa5d2f9a6ed768832191afe56
parentc60cdb9bfc0f2ea7bd7dc6e7623576ad087b8d14
Bug 29416: (bug 28941 follow-up) Restore suggestion prefill

From commit 586bed1319592e05f5dc3acf64a1dba8cae69d6b
     Bug 28941: Filter suggestion inputs at the OPAC

But later in the script we send { suggestion => %$suggestion } to the
template and so erase the variable previously passed.

Test plan:
Login at the OPAC
Go to the bibliographic detail page
Suggest for purchase
=> The form must be prefilled!

Signed-off-by: Marcel de Rooy <m.de.rooy@rijksmuseum.nl>
Signed-off-by: Nick Clemens <nick@bywatersolutions.com>
Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com>
(cherry picked from commit fbd3d2d762cd2889d6207770ebe5f96f34b727c9)
Signed-off-by: Fridolin Somers <fridolin.somers@biblibre.com>
opac/opac-suggestions.pl