]> 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)
committerVictor Grousset/tuxayo <victor@tuxayo.net>
Tue, 16 Nov 2021 22:31:57 +0000 (23:31 +0100)
commit6dbebcb0d88f8266737fb40f50bc53e0ca053964
tree5bd3040e7739265343b3cf255eddc6adbfac7a3d
parent95257f7f5c5713d34f15152fe3a25f7b4de45e96
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>
(cherry picked from commit 668c5a9a3542ff17cb15ea73d82936fccadb957c)
Signed-off-by: Victor Grousset/tuxayo <victor@tuxayo.net>
opac/opac-suggestions.pl