Lines 590-602
for (my $i=0;$i<@servers;$i++) {
Link Here
|
590 |
my $defaultview = C4::Context->preference('IntranetBiblioDefaultView'); |
590 |
my $defaultview = C4::Context->preference('IntranetBiblioDefaultView'); |
591 |
my $views = { C4::Search::enabled_staff_search_views }; |
591 |
my $views = { C4::Search::enabled_staff_search_views }; |
592 |
if ($defaultview eq 'isbd' && $views->{can_view_ISBD}) { |
592 |
if ($defaultview eq 'isbd' && $views->{can_view_ISBD}) { |
593 |
print $cgi->redirect("/cgi-bin/koha/catalogue/ISBDdetail.pl?biblionumber=$biblionumber"); |
593 |
print $cgi->redirect("/cgi-bin/koha/catalogue/ISBDdetail.pl?biblionumber=$biblionumber&found1=1"); |
594 |
} elsif ($defaultview eq 'marc' && $views->{can_view_MARC}) { |
594 |
} elsif ($defaultview eq 'marc' && $views->{can_view_MARC}) { |
595 |
print $cgi->redirect("/cgi-bin/koha/catalogue/MARCdetail.pl?biblionumber=$biblionumber"); |
595 |
print $cgi->redirect("/cgi-bin/koha/catalogue/MARCdetail.pl?biblionumber=$biblionumber&found1=1"); |
596 |
} elsif ($defaultview eq 'labeled_marc' && $views->{can_view_labeledMARC}) { |
596 |
} elsif ($defaultview eq 'labeled_marc' && $views->{can_view_labeledMARC}) { |
597 |
print $cgi->redirect("/cgi-bin/koha/catalogue/labeledMARCdetail.pl?biblionumber=$biblionumber"); |
597 |
print $cgi->redirect("/cgi-bin/koha/catalogue/labeledMARCdetail.pl?biblionumber=$biblionumber&found1=1"); |
598 |
} else { |
598 |
} else { |
599 |
print $cgi->redirect("/cgi-bin/koha/catalogue/detail.pl?biblionumber=$biblionumber"); |
599 |
print $cgi->redirect("/cgi-bin/koha/catalogue/detail.pl?biblionumber=$biblionumber&found1=1"); |
600 |
} |
600 |
} |
601 |
exit; |
601 |
exit; |
602 |
} |
602 |
} |