Adding ability to return search results for biblios that have no biblioitems
[koha_ffzg] / search.marc / suggest.pl
index 0225863..bd01528 100755 (executable)
@@ -29,8 +29,7 @@ use C4::Auth;
 use C4::Output;
 use C4::Interface::CGI::Output;
 use C4::Biblio;
-use C4::SearchMarc;
-use C4::Catalogue;
+use C4::Acquisition;
 use C4::Koha; # XXX subfield_is_koha_internal_p
 
 # Creates the list of active tags using the active MARC configuration
@@ -54,7 +53,11 @@ my ($template, $loggedinuser, $cookie)
                             flagsrequired => {editcatalogue => 1},
                             debug => 1,
                             });
-$template->param("loop" => \@loop_suggests);
+$template->param("loop" => \@loop_suggests,
+               intranetcolorstylesheet => C4::Context->preference("intranetcolorstylesheet"),
+               intranetstylesheet => C4::Context->preference("intranetstylesheet"),
+               IntranetNav => C4::Context->preference("IntranetNav"),
+               );
 
 output_html_with_http_headers $query, $cookie, $template->output;
 1;