[Koha-bugs] [Bug 13972] Include fields from subscription and serial table in serial notification email

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Thu Jun 18 12:43:18 CEST 2015


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

Jonathan Druart <jonathan.druart at biblibre.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
  Attachment #40021|0                           |1
        is obsolete|                            |
  Attachment #40022|0                           |1
        is obsolete|                            |

--- Comment #8 from Jonathan Druart <jonathan.druart at biblibre.com> ---
Created attachment 40273
  -->
http://bugs.koha-community.org/bugzilla3/attachment.cgi?id=40273&action=edit
Bug 13972: Include fields from subscription and serial table in serial
notification email

Currently it's not possible to include information about which
issue has arrived in the serial notification notice the patron
can subscribe to from the OPAC.

The patch makes the fields from the subscription and serial
table available to the notice template.

In order to be able to print information about the correct
issue, the GetAlert has been modified to expext the serialid
as externalid when the module is issue.

git grep SendAlerts (only call with 'issue' is in Serial.pm)

To test:
- Add a subscription, select a patron notification template
- Search for the record in the OPAC
- Go to the subscription tab - More details
- Subscribe to the notification
- Edit the notice template you selected for the subscription
  - add fields from subscription
  - add fields from serial (serial.serialseq has the issue
    information)
- Receive an issue for the subscription
- Check that you have received the notification and that
  all information has been printed correctly
  NOTE: notice is sent directly, not through the message_queue

Followed test plan, works as expected.
Signed-off-by: Marc Véron <veron at veron.ch>

Signed-off-by: Jonathan Druart <jonathan.druart at koha-community.org>

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


More information about the Koha-bugs mailing list