X-Git-Url: http://git.rot13.org/?a=blobdiff_plain;f=serials%2Frouting.pl;h=32f42e52ab201d87ff81de0b864d3305d9f0e637;hb=b859739c2a6dc899176276022782ac3af7a0ad0c;hp=5dee5eafbb3447565e0f4cc125cfc6a8fcebd807;hpb=8101d83af67f696fc12cc1830d9b51fd120ef6a4;p=koha.git diff --git a/serials/routing.pl b/serials/routing.pl index 5dee5eafbb..32f42e52ab 100755 --- a/serials/routing.pl +++ b/serials/routing.pl @@ -2,18 +2,18 @@ # This file is part of Koha # -# Koha is free software; you can redistribute it and/or modify it under the -# terms of the GNU General Public License as published by the Free Software -# Foundation; either version 2 of the License, or (at your option) any later -# version. +# Koha is free software; you can redistribute it and/or modify it +# under the terms of the GNU General Public License as published by +# the Free Software Foundation; either version 3 of the License, or +# (at your option) any later version. # -# Koha is distributed in the hope that it will be useful, but WITHOUT ANY -# WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR -# A PARTICULAR PURPOSE. See the GNU General Public License for more details. +# Koha is distributed in the hope that it will be useful, but +# WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU General Public License for more details. # -# You should have received a copy of the GNU General Public License along -# with Koha; if not, write to the Free Software Foundation, Inc., -# 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. +# You should have received a copy of the GNU General Public License +# along with Koha; if not, see . =head1 Routing.pl @@ -27,10 +27,9 @@ printed out use strict; use warnings; -use CGI; +use CGI qw ( -utf8 ); use C4::Koha; use C4::Auth; -use C4::Dates; use C4::Output; use C4::Acquisition; use C4::Output; @@ -74,7 +73,7 @@ my $serialdates = GetLatestSerials($subscriptionid,$count); my $dates = []; foreach my $dateseq (@{$serialdates}) { my $d = {}; - $d->{planneddate} = $dateseq->{planneddate}; + $d->{publisheddate} = $dateseq->{publisheddate}; $d->{serialseq} = $dateseq->{serialseq}; $d->{serialid} = $dateseq->{serialid}; if($date_selected eq $dateseq->{serialid}){ @@ -86,7 +85,7 @@ foreach my $dateseq (@{$serialdates}) { } my ($template, $loggedinuser, $cookie) -= get_template_and_user({template_name => 'serials/routing.tmpl', += get_template_and_user({template_name => 'serials/routing.tt', query => $query, type => 'intranet', authnotrequired => 0,