Bugzilla – Attachment 115603 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.67 KB, created by
Katrin Fischer
on 2021-01-21 19:28:46 UTC
(
hide
)
Description:
Bug 24447: Changing 'DUE' to example in database that exists.
Filename:
MIME Type:
Creator:
Katrin Fischer
Created:
2021-01-21 19:28:46 UTC
Size:
1.67 KB
patch
obsolete
>From 69aa5551fa1e25a1f2e4f0ba45afa3da73cd9cb2 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> >--- > 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.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 24447
:
115484
|
115603
|
115606