Lines 581-586
for my $itm (@items) {
Link Here
|
581 |
} |
581 |
} |
582 |
} |
582 |
} |
583 |
|
583 |
|
|
|
584 |
# Display only one tab if one items list is empty |
585 |
if (scalar(@itemloop) == 0 || scalar(@otheritemloop) == 0) { |
586 |
$template->param(SeparateHoldings => 0); |
587 |
if (scalar(@itemloop) == 0) { |
588 |
@itemloop = @otheritemloop; |
589 |
} |
590 |
} |
591 |
|
584 |
# If there is a lot of items, and the user has not decided |
592 |
# If there is a lot of items, and the user has not decided |
585 |
# to view them all yet, we first warn him |
593 |
# to view them all yet, we first warn him |
586 |
# TODO: The limit of 50 could be a syspref |
594 |
# TODO: The limit of 50 could be a syspref |
587 |
- |
|
|