diff --git a/opac/opac-detail.pl b/opac/opac-detail.pl index 6a68a52873..5d0eeffcf7 100755 --- a/opac/opac-detail.pl +++ b/opac/opac-detail.pl @@ -1134,6 +1134,8 @@ if ( C4::Context->preference("IDREF") ) { # the user wants, and what's available for display my $opac_serial_default = C4::Context->preference('opacSerialDefaultTab'); my $defaulttab = + $viewallitems + ? 'holdings' : $opac_serial_default eq 'subscriptions' && $subscriptionsnumber ? 'subscriptions' : $opac_serial_default eq 'serialcollection' && @serialcollections > 0