[Koha-bugs] [Bug 5867] New: "Hold filled" notice not sent by email if the user has its email address in a field other than "email"

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Tue Mar 15 16:42:37 CET 2011


http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=5867

             Bug #: 5867
           Summary: "Hold filled" notice not sent by email if the user has
                    its email address in a field other than "email"
    Classification: Unclassified
 Change sponsored?: ---
           Product: Koha
           Version: rel_3_2
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: enhancement
          Priority: P5
         Component: Notices
        AssignedTo: henridamien at koha-fr.org
        ReportedBy: fcapovilla at live.ca
         QAContact: koha-bugs at lists.koha-community.org


Created attachment 3304
  --> http://bugs.koha-community.org/bugzilla3/attachment.cgi?id=3304
[PATCH] Improved the email checking when sending "Hold filled" notices.

The subroutine for sending HOLD and HOLD_PRINT notices only checked the "email"
field of the borrowers table and didn't check the value of the
AutoEmailPrimaryAddress preference. With this patch, "Hold filled" notices can
now be sent using the other email addresses of the member, depending on the
value of the AutoEmailPrimaryAddress preference.

Also, if AutoEmailPrimaryAddress is set to "first valid", the other email
fields of the user are checked before falling back to a print notice.

Patch attached.

-- 
Configure bugmail: http://bugs.koha-community.org/bugzilla3/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA Contact for the bug.


More information about the Koha-bugs mailing list