Bugzilla – Attachment 123311 Details for
Bug 28768
OPAC reading history page (opac-readingrecord.pl) wont display news items
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 28768: remove unnessesary template variable
Bug-28768-remove-unnessesary-template-variable.patch (text/plain), 1.21 KB, created by
Nick Clemens (kidclamp)
on 2021-07-30 12:15:03 UTC
(
hide
)
Description:
Bug 28768: remove unnessesary template variable
Filename:
MIME Type:
Creator:
Nick Clemens (kidclamp)
Created:
2021-07-30 12:15:03 UTC
Size:
1.21 KB
patch
obsolete
>From 6aa7e190ee709ba56b884bfacdc15856e089252f Mon Sep 17 00:00:00 2001 >From: Lucas Gass <lucas@bywatersolutions.com> >Date: Tue, 27 Jul 2021 18:08:12 +0000 >Subject: [PATCH] Bug 28768: remove unnessesary template variable > >To test: >1. Add some news that should display on opac-readingrecord.pl. For example: opacheader, OpacCustomSearch, opaccredits >2. Go to opac-readingrecord.pl, the news doesn't display >3. Apply patch, restart_all >4. Go to opac-readingrecord.pl, the news displays >5. Turn on 'opacreadinghistory' and test to make sure it still works > >Signed-off-by: Andrew Isherwood <andrew.isherwood@ptfs-europe.com> > >Signed-off-by: Nick Clemens <nick@bywatersolutions.com> >--- > opac/opac-readingrecord.pl | 2 -- > 1 file changed, 2 deletions(-) > >diff --git a/opac/opac-readingrecord.pl b/opac/opac-readingrecord.pl >index 3652d000c7..925407d4eb 100755 >--- a/opac/opac-readingrecord.pl >+++ b/opac/opac-readingrecord.pl >@@ -56,8 +56,6 @@ my ( $template, $borrowernumber, $cookie ) = get_template_and_user( > > my $borr = Koha::Patrons->find( $borrowernumber )->unblessed; > >-$template->param(%{$borr}); >- > my $itemtypes = { map { $_->{itemtype} => $_ } @{ Koha::ItemTypes->search_with_localization->unblessed } }; > > # get the record >-- >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 28768
:
123230
|
123241
| 123311 |
123312
|
127339