Bugzilla – Attachment 30650 Details for
Bug 10433
colspan calculation done by opac/opac-reserve.pl should be moved to template
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
[SIGNED-OFF] Bug 10433 - colspan calculation done by opac/opac-reserve.pl should be moved to template
SIGNED-OFF-Bug-10433---colspan-calculation-done-by.patch (text/plain), 1.54 KB, created by
Bernardo Gonzalez Kriegel
on 2014-08-09 13:25:05 UTC
(
hide
)
Description:
[SIGNED-OFF] Bug 10433 - colspan calculation done by opac/opac-reserve.pl should be moved to template
Filename:
MIME Type:
Creator:
Bernardo Gonzalez Kriegel
Created:
2014-08-09 13:25:05 UTC
Size:
1.54 KB
patch
obsolete
>From ef1524d6af93a1f6712109f0761ba7d2de16c5a0 Mon Sep 17 00:00:00 2001 >From: Owen Leonard <oleonard@myacpl.org> >Date: Fri, 18 Jul 2014 08:55:00 -0400 >Subject: [PATCH] [SIGNED-OFF] Bug 10433 - colspan calculation done by > opac/opac-reserve.pl should be moved to template > >Since the bootstrap OPAC's place hold interface doesn't use tables >there is no use for the colspan calculation being done in the script. >This patch removes it. > >To test, place one or more holds in the OPAC and confirm that there are >no display problems. The OPAC error logs should show no associated >error. > >Signed-off-by: Bernardo Gonzalez Kriegel <bgkriegel@gmail.com> >No display problems, no related errors on log, no koha-qa errors >--- > opac/opac-reserve.pl | 10 ---------- > 1 file changed, 10 deletions(-) > >diff --git a/opac/opac-reserve.pl b/opac/opac-reserve.pl >index 45d03bd..ec63976 100755 >--- a/opac/opac-reserve.pl >+++ b/opac/opac-reserve.pl >@@ -565,18 +565,8 @@ if ( $numBibsAvailable == 0 || $anyholdable == 0) { > $template->param( none_available => 1 ); > } > >-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('OpacHoldNotes'); > $template->param(OpacHoldNotes=>$show_notes); >-$itemTableColspan-- if !$show_notes; >-$template->param(itemtable_colspan => $itemTableColspan); > > # display infos > $template->param(bibitemloop => $biblioLoop); >-- >1.7.9.5
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
|
Splinter Review
Attachments on
bug 10433
:
30470
|
30650
|
30802