Bug 18477: Populate article_requests table values for AR_PENDING notices
authorKyle M Hall <kyle@bywatersolutions.com>
Mon, 8 May 2017 16:47:06 +0000 (16:47 +0000)
committerFridolin Somers <fridolin.somers@biblibre.com>
Thu, 8 Feb 2018 09:49:26 +0000 (10:49 +0100)
commitc2d7c71c91bf5b3579abdca5937ddb0c611aaca8
treefe1cfd93bee767ef705ee6d20cec72a03a58dec7
parent4177b81d49d27720f7a2b67d1b3a3524d8d78db5
Bug 18477: Populate article_requests table values for AR_PENDING notices

The default AR_PENDING letter does not print populate <<article_requests.*>> fields.

Test Plan:
1) Enable article requests ( syspref: ArticleRequests => Enable, Circ and fine rules ALL/ALL (or a given category/itemtype): Article requests => Yes )
2) Search for a title, click in to catalog detail, click 'Request Article' button.
3) Select Patron
4) Fill out request information
5) Click 'Place request'
6) Go to notices in patron record, inspect 'Article Request Received' notice. You should see the request information from step 4, but it doesn't display.
7) Apply this patch
8) Repeat steps 2-6, not the fields now display!

Signed-off-by: Eric Phetteplace <phette23@gmail.com>
Signed-off-by: Mark Tompsett <mtompset@hotmail.com>
Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
Signed-off-by: Nick Clemens <nick@bywatersolutions.com>
(cherry picked from commit e1a61134eb921760ebe3ac992a151591bb3977bf)
Signed-off-by: Fridolin Somers <fridolin.somers@biblibre.com>
Koha/ArticleRequest.pm