From: Robin Sheat <[email protected]>

Signed-off-by: Nicole C. Engard <[email protected]>
---
 .../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 %]&amp;borrowernumber=[% resultsloo.borrowernumber 
%]&amp;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 
%]&amp;borrowernumber=[% resultsloo.borrowernumber 
%]&amp;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.2.3

_______________________________________________
Koha-patches mailing list
[email protected]
http://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-patches
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/

Reply via email to