From ad5a157c82ae2d5fac215c4b34d3035feef1957c Mon Sep 17 00:00:00 2001 From: Jonathan Druart Date: Wed, 15 Dec 2021 07:02:46 +0100 Subject: [PATCH] Bug 29696: Preserve link to biblio when creating a suggestion Caused by commit 586bed1319592e05f5dc3acf64a1dba8cae69d6b Bug 28941: Filter suggestion inputs at the OPAC We are loosing the link with the biblio (suggestion.biblionumber) Test plan: At the OPAC, go to the detail page of a bibliographic record, click "Suggest for purchase" and submit the form. Without this patch the suggestion is created but the link to the bibliographic record is lost With this patch applied you should see that suggestions.biblionumber has correctly been preserved Signed-off-by: Katrin Fischer Signed-off-by: Martin Renvoize Signed-off-by: Fridolin Somers Signed-off-by: Kyle M Hall (cherry picked from commit 9ae252946da274ef50435a23e3e08cb8cb024f74) Signed-off-by: Andrew Fuerste-Henry --- opac/opac-suggestions.pl | 1 + 1 file changed, 1 insertion(+) diff --git a/opac/opac-suggestions.pl b/opac/opac-suggestions.pl index df37729034..d1f2bc8e63 100755 --- a/opac/opac-suggestions.pl +++ b/opac/opac-suggestions.pl @@ -44,6 +44,7 @@ my $title_filter = $input->param('title_filter'); my $need_confirm = 0; my $suggestion = { + biblionumber => scalar $input->param('biblionumber'), title => scalar $input->param('title'), author => scalar $input->param('author'), copyrightdate => scalar $input->param('copyrightdate'), -- 2.39.5