[Koha-bugs] [Bug 1985] Email notification of new OPAC comments

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Wed May 6 22:47:17 CEST 2015


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

M. Tompsett <mtompset at hotmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
  Attachment #36677|0                           |1
        is obsolete|                            |

--- Comment #39 from M. Tompsett <mtompset at hotmail.com> ---
Created attachment 38908
  -->
http://bugs.koha-community.org/bugzilla3/attachment.cgi?id=38908&action=edit
Bug 1985 - Email notification of new OPAC comments

This feature adds YAS 'CommentModeratorsEmail', where an email (template code
COMMENT_CREATED) is sent when
a borrower creates/modifies an comment/review. The syspref is empty by default
and no email is sent when the
syspref is empty.

This feature is needed because we want to alert our content moderators to take
action when needed. Usually
it is our librarians who write reviews and this improvement makes the process
of moving Koha reviews to our
CMS more smooth.

TEST SETUP:
-1. Run updatedatabase.pl to add the syspref and the new letter template.
0. Go to admin/preferences.pl?tab=opac, and set the
'CommentModeratorsEmail'-syspref to your email-address.

TEST PLAN:
1. Log in to OPAC and find any Biblio.
2. Make a comment/review for it.
3. Check the koha.message_queue-table for any letter_code = 'COMMENT_CREATED'.
You should see the reasonable
   default message. You can change the message in tools/letter.pl.

NOTE: Tested in conjunction with my patch. However, this piece
      alone:
      - lacked unit tests since it modified C4/Review.pm
      - failed to provide the desired links in the email message,
        as mentioned in comment #1.
      - failed to pass biblionumber information for use in the
        letter as mentioned in comment #11.
      - passed $review, when it was really id that should have
        been passed and used to implement the inclusion of
        reviews.reviewid and other reviews table fields.

Signed-off-by: Mark Tompsett <mtompset at hotmail.com>

Signed-off-by: sonia bouis <sonia.bouis at univ-lyon3.fr>
Signed-off-by: Kyle M Hall <kyle at bywatersolutions.com>

-- 
You are receiving this mail because:
You are watching all bug changes.


More information about the Koha-bugs mailing list