|
Lines 383-393
if ( C4::Context->preference('SeparateHoldingsByGroup') ) {
Link Here
|
| 383 |
$total_group_holdings_count += $group_holdings_count; |
383 |
$total_group_holdings_count += $group_holdings_count; |
| 384 |
|
384 |
|
| 385 |
push @lib_groups, $group; |
385 |
push @lib_groups, $group; |
| 386 |
$other_holdings_count = ( $items_to_display->count ) - $total_group_holdings_count; |
|
|
| 387 |
} |
386 |
} |
| 388 |
} |
387 |
} |
| 389 |
} |
388 |
} |
| 390 |
|
389 |
|
|
|
390 |
#only need to calculate the other_holdings_count once |
| 391 |
$other_holdings_count = ( $items_to_display->count ) - $total_group_holdings_count; |
| 392 |
|
| 391 |
$template->param( |
393 |
$template->param( |
| 392 |
lib_groups => \@lib_groups, |
394 |
lib_groups => \@lib_groups, |
| 393 |
holdings_count_hash => \%holdings_count, |
395 |
holdings_count_hash => \%holdings_count, |
| 394 |
- |
|
|