Bugzilla – Attachment 138936 Details for
Bug 30847
Cleanup opac-reserve.pl
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 30847: Remove unused OPACShowHoldQueueDetails
Bug-30847-Remove-unused-OPACShowHoldQueueDetails.patch (text/plain), 963 bytes, created by
Owen Leonard
on 2022-08-09 17:32:41 UTC
(
hide
)
Description:
Bug 30847: Remove unused OPACShowHoldQueueDetails
Filename:
MIME Type:
Creator:
Owen Leonard
Created:
2022-08-09 17:32:41 UTC
Size:
963 bytes
patch
obsolete
>From 7ebb487c23d4879daa9f2f50368d605122dab1ac Mon Sep 17 00:00:00 2001 >From: Nick Clemens <nick@bywatersolutions.com> >Date: Wed, 25 May 2022 14:02:57 +0000 >Subject: [PATCH] Bug 30847: Remove unused OPACShowHoldQueueDetails > >Search for the variables, they aren't used! > >Signed-off-by: Owen Leonard <oleonard@myacpl.org> >--- > opac/opac-reserve.pl | 6 ------ > 1 file changed, 6 deletions(-) > >diff --git a/opac/opac-reserve.pl b/opac/opac-reserve.pl >index 1f6a126094..1f183e3290 100755 >--- a/opac/opac-reserve.pl >+++ b/opac/opac-reserve.pl >@@ -60,12 +60,6 @@ my ( $template, $borrowernumber, $cookie ) = get_template_and_user( > } > ); > >-my ($show_holds_count, $show_priority); >-for ( C4::Context->preference("OPACShowHoldQueueDetails") ) { >- m/holds/o and $show_holds_count = 1; >- m/priority/ and $show_priority = 1; >-} >- > my $patron = Koha::Patrons->find( $borrowernumber, { prefetch => ['categorycode'] } ); > my $category = $patron->category; > >-- >2.20.1
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 30847
:
135340
|
135341
|
135342
|
135343
|
135344
|
135345
|
135346
|
135347
|
135348
|
137668
|
137669
|
137670
|
137671
|
137672
|
137673
|
137674
|
137675
|
138654
|
138655
|
138934
|
138935
|
138936
|
138937
|
138938
|
138939
|
138940
|
138941
|
139628
|
139629
|
139630
|
139631
|
139632
|
139633
|
139634
|
139635
|
139915
|
139916
|
139917
|
139918
|
139919
|
139920
|
139921
|
139922
|
139923