koha-cvs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Koha-cvs] koha/serials serials-home.pl [rel_3_0]


From: Antoine Farnault
Subject: [Koha-cvs] koha/serials serials-home.pl [rel_3_0]
Date: Mon, 27 Nov 2006 09:47:26 +0000

CVSROOT:        /sources/koha
Module name:    koha
Branch:         rel_3_0
Changes by:     Antoine Farnault <toins>        06/11/27 09:47:26

Modified files:
        serials        : serials-home.pl 

Log message:
        set the good template param name.

CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/koha/serials/serials-home.pl?cvsroot=koha&only_with_tag=rel_3_0&r1=1.5.2.2&r2=1.5.2.3

Patches:
Index: serials-home.pl
===================================================================
RCS file: /sources/koha/koha/serials/serials-home.pl,v
retrieving revision 1.5.2.2
retrieving revision 1.5.2.3
diff -u -b -r1.5.2.2 -r1.5.2.3
--- serials-home.pl     21 Nov 2006 10:45:54 -0000      1.5.2.2
+++ serials-home.pl     27 Nov 2006 09:47:26 -0000      1.5.2.3
@@ -17,7 +17,7 @@
 # Koha; if not, write to the Free Software Foundation, Inc., 59 Temple Place,
 # Suite 330, Boston, MA  02111-1307 USA
 
-# $Id: serials-home.pl,v 1.5.2.2 2006/11/21 10:45:54 toins Exp $
+# $Id: serials-home.pl,v 1.5.2.3 2006/11/27 09:47:26 toins Exp $
 
 =head1 NAME
 
@@ -41,7 +41,6 @@
 
 =cut
 
-
 use strict;
 use CGI;
 use C4::Auth;
@@ -52,12 +51,12 @@
 use HTML::Template;
 
 my $query = new CGI;
-my $title = $query->param('title');
-my $ISSN = $query->param('ISSN');
+my $title = $query->param('title_filter');
+my $ISSN = $query->param('ISSN_filter');
 my $routing = $query->param('routing');
 my $searched = $query->param('searched');
 my $biblionumber = $query->param('biblionumber');
-my @subscriptions = GetSubscriptions($title,$ISSN,$biblionumber);
+my @subscriptions =GetSubscriptions($title,$ISSN,$biblionumber);
 my ($template, $loggedinuser, $cookie)
 = get_template_and_user({template_name => "serials/serials-home.tmpl",
                                query => $query,
@@ -72,14 +71,13 @@
     for(my $i=0;$i<@subscriptions;$i++){
        my $checkrouting = 
check_routing($subscriptions[$i]->{'subscriptionid'});
        $subscriptions[$i]->{'routingedit'} = $checkrouting;
-       # warn "check $checkrouting";
     }
 }
 
 $template->param(
        subscriptions => address@hidden,
-       title => $title,
-       ISSN => $ISSN,
+       title_filter => $title,
+       ISSN_filter => $ISSN,
         done_searched => $searched,
         routing => $routing,
        );




reply via email to

[Prev in Thread] Current Thread [Next in Thread]