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)
committerKyle Hall <kyle@bywatersolutions.com>
Thu, 11 Nov 2021 12:33:42 +0000 (07:33 -0500)
commitfbd3d2d762cd2889d6207770ebe5f96f34b727c9
tree5c51f5af9f50de1a63e0f8c8c148c2199835cbc9
parent8c1ea4ec8ab6509c67538b1bf78cdf9e44d60c96
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>
opac/opac-suggestions.pl