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

(-)a/catalogue/detail.pl (+8 lines)
Lines 281-286 foreach my $item (@items) { Link Here
281
    }
281
    }
282
}
282
}
283
283
284
# Display only one tab if one items list is empty
285
if (scalar(@itemloop) == 0 || scalar(@otheritemloop) == 0) {
286
    $template->param(SeparateHoldings => 0);
287
    if (scalar(@itemloop) == 0) {
288
        @itemloop = @otheritemloop;
289
    }
290
}
291
284
$template->param( norequests => $norequests );
292
$template->param( norequests => $norequests );
285
$template->param(
293
$template->param(
286
	MARCNOTES   => $marcnotesarray,
294
	MARCNOTES   => $marcnotesarray,
(-)a/opac/opac-detail.pl (-1 / +8 lines)
Lines 576-581 for my $itm (@items) { Link Here
576
    }
576
    }
577
}
577
}
578
578
579
# Display only one tab if one items list is empty
580
if (scalar(@itemloop) == 0 || scalar(@otheritemloop) == 0) {
581
    $template->param(SeparateHoldings => 0);
582
    if (scalar(@itemloop) == 0) {
583
        @itemloop = @otheritemloop;
584
    }
585
}
586
579
# If there is a lot of items, and the user has not decided
587
# If there is a lot of items, and the user has not decided
580
# to view them all yet, we first warn him
588
# to view them all yet, we first warn him
581
# TODO: The limit of 50 could be a syspref
589
# TODO: The limit of 50 could be a syspref
582
- 

Return to bug 7674