Bug 9016: (follow-up) make GetLetters return all letters
authorJonathan Druart <jonathan.druart@biblibre.com>
Thu, 6 Mar 2014 14:18:12 +0000 (15:18 +0100)
committerGalen Charlton <gmc@esilibrary.com>
Fri, 2 May 2014 20:29:17 +0000 (20:29 +0000)
commitdc95637ef00cbd695034dcca6645551571f1907a
tree77bdfb0a075158bbc63db3ee02b9ccae72dd0538
parente778fb80c118f3cf934268d29acf705b6eb398db
Bug 9016: (follow-up) make GetLetters return all letters

GetLetters only returns letters with a mtt = email. It should return all
letter codes in the DB.

The message_transport_type parameter is never used.

To reproduce the issue:
Create a notice with a sms template and no email template.
Go on the overdue rules configucation page.
The notice does not appear in the notice list.

Signed-off-by: Olli-Antti Kivilahti <kivilahtio@ProBook6570b>
---------------
Testing report:
---------------
Testing this subroutine from a test stub. Calling the method without arguments
and with argument 'circulation' and 'circulat'.
Works as supposed to.
Related Bug 11931 discovered but not within the scope of this featureset.

Signed-off-by: Marcel de Rooy <m.de.rooy@rijksmuseum.nl>
Signed-off-by: Galen Charlton <gmc@esilibrary.com>
C4/Letters.pm