Bug 10343: Rename OpacShowHoldNotes to OpacHoldNotes
[koha.git] / serials / routing-preview.pl
index 6746f53..437c852 100755 (executable)
@@ -99,7 +99,7 @@ if($ok){
                                query => $query,
                                type => "intranet",
                                authnotrequired => 0,
-                               flagsrequired => {serials => 'routing'},
+                               flagsrequired => {serials => '*'},
                                debug => 1,
                                });
     $template->param("libraryname"=>$branchname);
@@ -109,7 +109,7 @@ if($ok){
                                query => $query,
                                type => "intranet",
                                authnotrequired => 0,
-                               flagsrequired => {serials => 'routing'},
+                               flagsrequired => {serials => '*'},
                                debug => 1,
                                });
 }
@@ -131,7 +131,9 @@ $template->param(
     subscriptionid => $subscriptionid,
     memberloop => $memberloop,
     routingnotes => $routingnotes,
+    generalroutingnote => C4::Context->preference('RoutingListNote'),
     hasRouting => check_routing($subscriptionid),
+    (uc(C4::Context->preference("marcflavour"))) => 1
     );
 
 output_html_with_http_headers $query, $cookie, $template->output;