Bugzilla – Attachment 115606 Details for
Bug 24447
POD of C4::Members::Messaging::GetMessagingPreferences() is misleading
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 24447: Changing 'DUE' to example in database that exists.
Bug-24447-Changing-DUE-to-example-in-database-that.patch (text/plain), 1.74 KB, created by
Kyle M Hall (khall)
on 2021-01-21 19:37:09 UTC
(
hide
)
Description:
Bug 24447: Changing 'DUE' to example in database that exists.
Filename:
MIME Type:
Creator:
Kyle M Hall (khall)
Created:
2021-01-21 19:37:09 UTC
Size:
1.74 KB
patch
obsolete
>From 08245ea94b2177419be01a8db4d05eb4ec4d0b46 Mon Sep 17 00:00:00 2001 >From: Eden Bacani <eden.bacani@gmail.com> >Date: Thu, 21 Jan 2021 01:20:49 +0000 >Subject: [PATCH] Bug 24447: Changing 'DUE' to example in database that exists. > >Test Plan: >1.Using perldoc C4/Members/Messaging.pm check that message_name >attribute name example is Item_Due and not DUE. > >Signed-off-by: Katrin Fischer <katrin.fischer.83@web.de> > >Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com> >--- > C4/Members/Messaging.pm | 6 ++++-- > 1 file changed, 4 insertions(+), 2 deletions(-) > >diff --git a/C4/Members/Messaging.pm b/C4/Members/Messaging.pm >index 5e51a39a0e..97e72c5e3e 100644 >--- a/C4/Members/Messaging.pm >+++ b/C4/Members/Messaging.pm >@@ -40,15 +40,17 @@ This module lets you modify a patron's messaging preferences. > =head2 GetMessagingPreferences > > my $preferences = C4::Members::Messaging::GetMessagingPreferences( { borrowernumber => $borrower->{'borrowernumber'}, >- message_name => 'DUE' } ); >+ message_name => 'Item_Due ' } ); > > my $preferences = C4::Members::Messaging::GetMessagingPreferences( { categorycode => 'LIBRARY', >- message_name => 'DUE' } ); >+ message_name => 'Item_Due ' } ); > > returns: a hashref of messaging preferences for a borrower or patron category for a particlar message_name > > Requires either a borrowernumber or a categorycode key, but not both. > >+message_name argument is a message attribute name. >+ > =cut > > sub GetMessagingPreferences { >-- >2.24.1 (Apple Git-126)
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 24447
:
115484
|
115603
| 115606