Bug 29696: Preserve link to biblio when creating a suggestion
authorJonathan Druart <jonathan.druart@bugs.koha-community.org>
Wed, 15 Dec 2021 06:02:46 +0000 (07:02 +0100)
committerKyle Hall <kyle@bywatersolutions.com>
Fri, 7 Jan 2022 11:03:56 +0000 (06:03 -0500)
commit9ae252946da274ef50435a23e3e08cb8cb024f74
treee07aaf48b3eb66db6cd5952a4ccd49ce6b6a5189
parent146c1e1d9f8d94e10d189fb601f71f6683963b7d
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 <katrin.fischer.83@web.de>
Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>
Signed-off-by: Fridolin Somers <fridolin.somers@biblibre.com>
Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com>
opac/opac-suggestions.pl