Bugzilla – Attachment 114555 Details for
Bug 24398
Error when viewing single news item and NewsAuthorDisplay pref set to OPAC
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 24398: (QA follow-up) Add POD
Bug-24398-QA-follow-up-Add-POD.patch (text/plain), 817 bytes, created by
Nick Clemens (kidclamp)
on 2020-12-21 13:44:44 UTC
(
hide
)
Description:
Bug 24398: (QA follow-up) Add POD
Filename:
MIME Type:
Creator:
Nick Clemens (kidclamp)
Created:
2020-12-21 13:44:44 UTC
Size:
817 bytes
patch
obsolete
>From eeba443a7213187233823de04685246b2fe19d5b Mon Sep 17 00:00:00 2001 >From: Nick Clemens <nick@bywatersolutions.com> >Date: Mon, 21 Dec 2020 13:43:21 +0000 >Subject: [PATCH] Bug 24398: (QA follow-up) Add POD > >Signed-off-by: Nick Clemens <nick@bywatersolutions.com> >--- > Koha/NewsItem.pm | 8 ++++++++ > 1 file changed, 8 insertions(+) > >diff --git a/Koha/NewsItem.pm b/Koha/NewsItem.pm >index 19bed767a6..d2fbcc05fe 100644 >--- a/Koha/NewsItem.pm >+++ b/Koha/NewsItem.pm >@@ -38,6 +38,14 @@ Koha::NewsItem represents a single piece of news from the opac_news table > > =cut > >+=head3 author >+ >+ $newsitem->author; >+ >+Return the Koha::Patron object for the patron who authored this news item >+ >+=cut >+ > sub author { > my ( $self ) = @_; > return Koha::Patron->_new_from_dbic($self->_result->borrowernumber); >-- >2.11.0
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 24398
:
114309
|
114312
|
114398
|
114554
| 114555