]> git.koha-community.org Git - koha.git/commit
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)
committerFridolin Somers <fridolin.somers@biblibre.com>
Wed, 22 Dec 2021 07:10:07 +0000 (21:10 -1000)
commitfe6e054c598964fef09f2609f4e453667d4a0037
tree0119cf2b6fadc2f0f6700a13bf543c777be3f3e4
parente214d5e9766f629b686673c7ad4a9a2b253434f6
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>
opac/opac-suggestions.pl