Bugzilla – Attachment 67430 Details for
Bug 19372
Selecting MARC framework doesn't work when adding to basket from an external source
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 19372: (bug 15801 follow-up) pass selected frameworkcode to the template
Bug-19372-bug-15801-follow-up-pass-selected-framew.patch (text/plain), 1.67 KB, created by
Biblibre Sandboxes
on 2017-09-28 12:32:30 UTC
(
hide
)
Description:
Bug 19372: (bug 15801 follow-up) pass selected frameworkcode to the template
Filename:
MIME Type:
Creator:
Biblibre Sandboxes
Created:
2017-09-28 12:32:30 UTC
Size:
1.67 KB
patch
obsolete
>From b744982385f4e75ced75362cdac81d47828e0be6 Mon Sep 17 00:00:00 2001 >From: Jonathan Druart <jonathan.druart@bugs.koha-community.org> >Date: Wed, 27 Sep 2017 12:54:18 -0300 >Subject: [PATCH] Bug 19372: (bug 15801 follow-up) pass selected frameworkcode > to the template > >Bug 15801 removes the 2 lines that were necessary to retrieve the >framework selected by the user and pass it to the template. >All bibliographic records created when adding an order to the basket >using an external source used the default framework. > >Test plan: >Add an order to a basket from an external source >Select another framework than the default one >=> Without this patch, whatever the framework you picked, the default >one is used >=> With this patch applied the framework code you will pick will be used > >Signed-off-by: Marijana Glavica <mglavica@ffzg.hr> > >Signed-off-by: Marijana Glavica <mglavica@ffzg.hr> >--- > acqui/z3950_search.pl | 2 ++ > 1 file changed, 2 insertions(+) > >diff --git a/acqui/z3950_search.pl b/acqui/z3950_search.pl >index d7bd2ee..59f9f36 100755 >--- a/acqui/z3950_search.pl >+++ b/acqui/z3950_search.pl >@@ -34,6 +34,7 @@ use Koha::BiblioFrameworks; > > my $input = new CGI; > my $biblionumber = $input->param('biblionumber')||0; >+my $frameworkcode = $input->param('frameworkcode') || q{}; > my $title = $input->param('title'); > my $author = $input->param('author'); > my $isbn = $input->param('isbn'); >@@ -63,6 +64,7 @@ my ( $template, $loggedinuser, $cookie ) = get_template_and_user( > } > ); > $template->param( >+ frameworkcode => $frameworkcode, > frameworks => $frameworks, > booksellerid => $booksellerid, > basketno => $basketno, >-- >2.7.4
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 19372
:
67398
|
67429
|
67430
|
67443