*** empty log message ***
authortipaul <tipaul>
Thu, 23 Jan 2003 12:31:23 +0000 (12:31 +0000)
committertipaul <tipaul>
Thu, 23 Jan 2003 12:31:23 +0000 (12:31 +0000)
loadmodules.pl

index ed51f05..3503093 100755 (executable)
@@ -53,8 +53,10 @@ sub acquisitions {
 
 sub catalogue_search {
        my $aq_type = C4::Context->preference("marc") || "ON";
+       my $query = new CGI;
+       my $type = $query->param('type');
        if ($aq_type eq 'ON') {
-               print $input->redirect("/cgi-bin/koha/search.marc/search.pl");
+               print $input->redirect("/cgi-bin/koha/search.marc/search.pl?type=$type");
        } else {
                print $input ->redirect("/cgi-bin/koha/catalogue-home.pl");
        }