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