Bugzilla – Attachment 128537 Details for
Bug 29696
"Suggest for purchase" missing biblio link
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 29696: Preserve link to biblio when creating a suggestion
Bug-29696-Preserve-link-to-biblio-when-creating-a-.patch (text/plain), 1.31 KB, created by
Jonathan Druart
on 2021-12-15 06:04:44 UTC
(
hide
)
Description:
Bug 29696: Preserve link to biblio when creating a suggestion
Filename:
MIME Type:
Creator:
Jonathan Druart
Created:
2021-12-15 06:04:44 UTC
Size:
1.31 KB
patch
obsolete
>From 51a4e212e14e2cc9195823aab504b7bf1cc3516e Mon Sep 17 00:00:00 2001 >From: Jonathan Druart <jonathan.druart@bugs.koha-community.org> >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 >--- > opac/opac-suggestions.pl | 1 + > 1 file changed, 1 insertion(+) > >diff --git a/opac/opac-suggestions.pl b/opac/opac-suggestions.pl >index 7c3dae97778..8f99595f1f6 100755 >--- a/opac/opac-suggestions.pl >+++ b/opac/opac-suggestions.pl >@@ -49,6 +49,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.25.1
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
|
Splinter Review
Attachments on
bug 29696
:
128536
|
128537
|
128701
|
128702
|
128703
|
128818
|
128819