From 93459439e1a28b267d26d21ceae0475e79ccc8a7 Mon Sep 17 00:00:00 2001
From: Chris Cormack
[% IF ( itemLoo.available ) %] - [% ELSE %] diff --git a/opac/opac-reserve.pl b/opac/opac-reserve.pl index d50480a..a92a976 100755 --- a/opac/opac-reserve.pl +++ b/opac/opac-reserve.pl @@ -477,11 +477,11 @@ if ( $numBibsAvailable == 0 || !$anyholdable) { $template->param( none_available => 1 ); } -my $itemTableColspan = 5; -if (!$template->param('OPACItemHolds')) { +my $itemTableColspan = 7; +if (! $template->{VARS}->{'OPACItemHolds'}) { $itemTableColspan--; } -if ($template->param('singleBranchMode')) { +if (! $template->{VARS}->{'singleBranchMode'}) { $itemTableColspan--; } $template->param(itemtable_colspan => $itemTableColspan); -- 1.7.3 |