Bugzilla – Attachment 4507 Details for
Bug 6513
Library and Category filters when searching for a borrower to add to a routing list don't work correctly.
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 6513 - ensure the subscription ID gets carried across
Bug-6513---ensure-the-subscription-ID-gets-carried.patch (text/plain), 2.18 KB, created by
Robin Sheat
on 2011-06-20 07:06:19 UTC
(
hide
)
Description:
Bug 6513 - ensure the subscription ID gets carried across
Filename:
MIME Type:
Creator:
Robin Sheat
Created:
2011-06-20 07:06:19 UTC
Size:
2.18 KB
patch
obsolete
>From 322be613f68f9c66d300f16c74d926cae3cd2a8e Mon Sep 17 00:00:00 2001 >From: Robin Sheat <robin@catalyst.net.nz> >Date: Mon, 20 Jun 2011 19:04:34 +1200 >Subject: [PATCH] Bug 6513 - ensure the subscription ID gets carried across > >--- > .../prog/en/modules/serials/member-search.tt | 2 +- > serials/member-search.pl | 2 ++ > 2 files changed, 3 insertions(+), 1 deletions(-) > >diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/serials/member-search.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/serials/member-search.tt >index 67e3614..ddb8445 100644 >--- a/koha-tmpl/intranet-tmpl/prog/en/modules/serials/member-search.tt >+++ b/koha-tmpl/intranet-tmpl/prog/en/modules/serials/member-search.tt >@@ -63,7 +63,7 @@ function add_member(subscriptionid,borrowernumber){ > <td>[% resultsloo.cardnumber %] </td> > <td>[% resultsloo.surname %], [% resultsloo.firstname %] </td> > <td>[% resultsloo.branchcode %] </td> >- <td><a onclick="add_member([% subscriptionid %],[% resultsloo.borrowernumber %]); return false" href="/cgi-bin/koha/serials/routing.pl?subscriptionid=[% resultsloo.subscriptionid %]&borrowernumber=[% resultsloo.borrowernumber %]&op=add">Add</a></td></tr> >+ <td><a onclick="add_member([% subscriptionid %],[% resultsloo.borrowernumber %]); return false" href="/cgi-bin/koha/serials/routing.pl?subscriptionid=[% subscriptionid %]&borrowernumber=[% resultsloo.borrowernumber %]&op=add">Add</a></td></tr> > [% END %] > </tbody> > </table> >diff --git a/serials/member-search.pl b/serials/member-search.pl >index 60b19e3..7f12277 100755 >--- a/serials/member-search.pl >+++ b/serials/member-search.pl >@@ -41,6 +41,7 @@ my $startfrom = $cgi->param('startfrom')||1; > my $member=$cgi->param('member'); > my $branchcode = $cgi->param('branchcode'); > my $categorycode = $cgi->param('categorycode'); >+my $subscriptionid = $cgi->param('subscriptionid'); > > my @categories=C4::Category->all; > my @branches=@{ GetBranchesLoop( >@@ -122,6 +123,7 @@ my %parameters=( > categorycode => $categorycode, > branchcode => $branchcode, > resultsperpage => $resultsperpage, >+ subscriptionid => $subscriptionid, > type => 'intranet' > ); > my $base_url = >-- >1.7.4.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 6513
:
4506
|
4507
|
4870
|
4871