From a0f3efa87f54a2a8b5de3c75032bc88ab63a93b9 Mon Sep 17 00:00:00 2001 From: Kyle M Hall Date: Mon, 8 May 2017 16:47:06 +0000 Subject: [PATCH] Bug 18477 - AR_PENDING notice does not populate values from article_requests table The default AR_PENDING letter does not print populate <> 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! --- Koha/ArticleRequest.pm | 1 + 1 file changed, 1 insertion(+) diff --git a/Koha/ArticleRequest.pm b/Koha/ArticleRequest.pm index 6b4daf4..e06588d 100644 --- a/Koha/ArticleRequest.pm +++ b/Koha/ArticleRequest.pm @@ -49,6 +49,7 @@ sub open { my ($self) = @_; $self->status(Koha::ArticleRequest::Status::Pending); + $self->SUPER::store(); $self->notify(); return $self; } -- 2.1.4