]> 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)
committerAndrew Fuerste-Henry <andrew@bywatersolutions.com>
Mon, 10 Jan 2022 15:25:45 +0000 (15:25 +0000)
commitad5a157c82ae2d5fac215c4b34d3035feef1957c
treeced0f0bcab0d43755f2bd68733ea92eb7799764e
parentc467f3facad11655b4c817e88a48a3cb17d6547d
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>
(cherry picked from commit 9ae252946da274ef50435a23e3e08cb8cb024f74)

Signed-off-by: Andrew Fuerste-Henry <andrew@bywatersolutions.com>
opac/opac-suggestions.pl