From 912e8432a5f2cf285f0fc321b5c96c00d5bd2c8a Mon Sep 17 00:00:00 2001 From: Marcel de Rooy Date: Mon, 18 Mar 2013 11:20:42 +0100 Subject: [PATCH] Bug 10321: Followup for hold notes Based on work for report 9722. This patch resolves a small display problem with the number of columns of the table on opac-reserve. Signed-off-by: Srdjan Signed-off-by: Jonathan Druart --- opac/opac-reserve.pl | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/opac/opac-reserve.pl b/opac/opac-reserve.pl index d1c3360..b633d3d 100755 --- a/opac/opac-reserve.pl +++ b/opac/opac-reserve.pl @@ -548,13 +548,14 @@ if ( $numBibsAvailable == 0 || $anyholdable == 0) { $template->param( none_available => 1 ); } -my $itemTableColspan = 8; +my $itemTableColspan = 9; if (! $template->{VARS}->{'OPACItemHolds'}) { $itemTableColspan--; } if (! $template->{VARS}->{'singleBranchMode'}) { $itemTableColspan--; } +$itemTableColspan-- if !$show_holds_count && !$show_priority; my $show_notes=C4::Context->preference('OPACShowHoldNotes'); $template->param(OPACShowHoldNotes=>$show_notes); $itemTableColspan-- if !$show_notes; -- 1.7.10.4