From 388a4bd47cbd4f031b5f48674572725da0d4403a 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 Signed-off-by: Galen Charlton --- 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 d1c33607f7..b633d3d2ef 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; -- 2.20.1