Merge remote-tracking branch 'kc/new/enh/bug_5917' into kcmaster
[koha.git] / serials / routing.pl
index 524c71d..2bd7d69 100755 (executable)
@@ -90,7 +90,7 @@ my ($template, $loggedinuser, $cookie)
                                query => $query,
                                type => "intranet",
                                authnotrequired => 0,
-                               flagsrequired => {serials => 1},
+                               flagsrequired => {serials => 'routing'},
                                debug => 1,
                                });
 
@@ -144,6 +144,7 @@ $template->param(
     op => $new,
     dates => $dates,
     routingnotes => $serials[0]->{'routingnotes'},
+    hasRouting => check_routing($subscriptionid),
     );
 
         output_html_with_http_headers $query, $cookie, $template->output;