*** empty log message ***
This commit is contained in:
parent
6b839bdca2
commit
ad5d56adf6
1 changed files with 3 additions and 1 deletions
|
@ -53,8 +53,10 @@ sub acquisitions {
|
||||||
|
|
||||||
sub catalogue_search {
|
sub catalogue_search {
|
||||||
my $aq_type = C4::Context->preference("marc") || "ON";
|
my $aq_type = C4::Context->preference("marc") || "ON";
|
||||||
|
my $query = new CGI;
|
||||||
|
my $type = $query->param('type');
|
||||||
if ($aq_type eq 'ON') {
|
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 {
|
} else {
|
||||||
print $input ->redirect("/cgi-bin/koha/catalogue-home.pl");
|
print $input ->redirect("/cgi-bin/koha/catalogue-home.pl");
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue