Bug 17792: Add opac_editable and opac_display methods
[koha.git] / circ / view_holdsqueue.pl
index ce632e6..72457e0 100755 (executable)
@@ -31,9 +31,10 @@ use C4::Biblio;
 use C4::Items;
 use C4::Koha;   # GetItemTypes
 use C4::HoldsQueue qw(GetHoldsQueueItems);
+use Koha::BiblioFrameworks;
 
 my $query = new CGI;
-my ( $template, $loggedinuser, $cookie ) = get_template_and_user(
+my ( $template, $loggedinuser, $cookie, $flags ) = get_template_and_user(
     {
         template_name   => "circ/view_holdsqueue.tt",
         query           => $query,
@@ -74,5 +75,8 @@ $template->param(
    itemtypeloop => \@itemtypesloop,
 );
 
+# Checking if there is a Fast Cataloging Framework
+$template->param( fast_cataloging => 1 ) if Koha::BiblioFrameworks->find( 'FA' );
+
 # writing the template
 output_html_with_http_headers $query, $cookie, $template->output;