Another fix for Bug 3119 (Add date due to circ history)
[koha.git] / serials / serial-issues.pl
index f7a8603..127d4c5 100755 (executable)
@@ -17,7 +17,6 @@
 # Koha; if not, write to the Free Software Foundation, Inc., 59 Temple Place,
 # Suite 330, Boston, MA  02111-1307 USA
 
-# $Id$
 
 =head1 NAME
 
@@ -46,10 +45,9 @@ use strict;
 use CGI;
 use C4::Auth;
 use C4::Koha;
-use C4::Date;
+use C4::Dates;
 use C4::Serials;
 use C4::Output;
-use C4::Interface::CGI::Output;
 use C4::Context;
 
 
@@ -73,7 +71,8 @@ if ($selectview eq "full"){
      = get_template_and_user({template_name => "serials/serial-issues-full.tmpl",
      query => $query,
      type => "intranet",
-     authnotrequired => 1,
+     authnotrequired => 0,
+        flagsrequired => {serials => 1},
      debug => 1,
      });
  
@@ -110,8 +109,4 @@ if ($selectview eq "full"){
         virtualshelves => "".C4::Context->preference("virtualshelves"),
     );
 }
-$template->param(intranetcolorstylesheet => C4::Context->preference("intranetcolorstylesheet"),
-               intranetstylesheet => C4::Context->preference("intranetstylesheet"),
-               IntranetNav => C4::Context->preference("IntranetNav"),
-               );
 output_html_with_http_headers $query, $cookie, $template->output;