View | Details | Raw Unified | Return to bug 17367
Collapse All | Expand All

(-)a/opac/opac-detail.pl (-1 / +2 lines)
Lines 1134-1139 if ( C4::Context->preference("IDREF") ) { Link Here
1134
# the user wants, and what's available for display
1134
# the user wants, and what's available for display
1135
my $opac_serial_default = C4::Context->preference('opacSerialDefaultTab');
1135
my $opac_serial_default = C4::Context->preference('opacSerialDefaultTab');
1136
my $defaulttab = 
1136
my $defaulttab = 
1137
    $viewallitems
1138
        ? 'holdings' :
1137
    $opac_serial_default eq 'subscriptions' && $subscriptionsnumber
1139
    $opac_serial_default eq 'subscriptions' && $subscriptionsnumber
1138
        ? 'subscriptions' :
1140
        ? 'subscriptions' :
1139
    $opac_serial_default eq 'serialcollection' && @serialcollections > 0
1141
    $opac_serial_default eq 'serialcollection' && @serialcollections > 0
1140
- 

Return to bug 17367