[Koha-bugs] [Bug 18477] New: AR_PENDING notice does not populate values from article_requests table.

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Fri Apr 21 18:27:55 CEST 2017


https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=18477

            Bug ID: 18477
           Summary: AR_PENDING notice does not populate values from
                    article_requests table.
 Change sponsored?: ---
           Product: Koha
           Version: master
          Hardware: All
                OS: All
            Status: NEW
          Severity: enhancement
          Priority: P5 - low
         Component: Notices
          Assignee: koha-bugs at lists.koha-community.org
          Reporter: barton at bywatersolutions.com
        QA Contact: testopia at bugs.koha-community.org

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

To replicate:

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 'Pplace 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.

Examples below:

AR_PENDING

===================================
<<borrowers.firstname>> <<borrowers.surname>> (<<borrowers.cardnumber>>)

We have received your request for an article from <<biblio.title>>.

Article requested:
Title: <<article_requests.title>>
Author: <<article_requests.author>>
Volume: <<article_requests.volume>>
Issue: <<article_requests.issue>>
Date: <<article_requests.date>>
Pages: <<article_requests.pages>>
Chapters: <<article_requests.chapters>>
Notes: <<article_requests.patron_notes>>
===================================


Displays as

===================================
Barton Chittenden (barton)

We have received your request for an article from Bws test record 2 ().

Article requested:
Title: 
Author: 
Volume: 
Issue: 
Date: 
Pages: 
Chapters: 
Notes: 


Thank you!
===================================


The 'processing' and 'completed' notices work work, here's the output from
'Article Request Completed'

===================================
Barton Chittenden (barton)

We are have completed your request for an article from Bws test record 2 ().

Article requested:
Title: TEST TEST TEST
Author: asdfsadf
Volume: foo
Issue: bar
Date: baz
Pages: 123234
Chapters: 9
Notes: Raaaaaagh!

You may pick your article up at Midway.

Thank you!
===================================

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


More information about the Koha-bugs mailing list