The new syntax to print item information in overdue notices (<item></item>) does not work with fields from the issues table. The list does not offer these fields to be selected into the notice template and manually adding it will not work. The information is not printed to the overdue notice. Examples: Will not work: <item><<biblio.title>> <<biblio.author>>, Callnumber: <<items.itemcallnumber>> Barcode <<items.barcode>> Due date: <<issues.date_due>> Fine: <fine>EUR</fine></item> Will display due date using -itemscontent with overdue_notices.pl: <<items.content>>
Created attachment 6865 [details] [review] Attachment to Bug 5607 - Make fields from issues table available in overdues BUG 5607 : Adds parsing of issues fields in overdue letters
Created attachment 6873 [details] [review] [SIGNED-OFF] BUG 5607 : Adds parsing of issues fields in overdue letters Signed-off-by: Katrin Fischer <Katrin.Fischer.83@web.de> Patch makes it possible to add fields from the issues table to overdue notices. Template used for testing: <item>"<<biblio.title>>" by <<biblio.author>>, <<items.itemcallnumber>>, Barcode: <<items.barcode>> , Checkout date: <<issues.issuedate>>, Due date: <<issues.date_due>> Fine: <fine>GBP</fine> Checkout date from items: <<items.onloan>></item> Possible improvements: - Dates are not formatted according to dateformat system preference
Simple patch to add another table worth of parsed tokens. Itemnumber can be considered key on issues, since an item should never be checked out to two people at once. Marking Passed QA
patch pushed, please test