Bug 7295: (follow-up) update DBIx::Class schema classes
[koha.git] / serials / viewalerts.pl
index ad804f0..5944ce1 100755 (executable)
@@ -38,7 +38,7 @@ my ($template, $loggedinuser, $cookie)
                  query => $input,
                  type => "intranet",
                  authnotrequired => 0,
-                 flagsrequired => {serials => 1},
+                 flagsrequired => {serials => '*'},
                  debug => 1,
                  });
 
@@ -52,6 +52,8 @@ foreach (@$borrowers) {
 }
 $template->param(alertloop => $borrowers,
                 bibliotitle => $subscription->{bibliotitle},
-                subscriptionid => $subscriptionid);
+                subscriptionid => $subscriptionid,
+                (uc(C4::Context->preference("marcflavour"))) => 1
+                );
 
 output_html_with_http_headers $input, $cookie, $template->output;