Bug 5606

Summary: items information in overdues should work with line breaks
Product: Koha Reporter: Katrin Fischer <katrin.fischer>
Component: NoticesAssignee: Chris Nighswonger <cnighswonger>
Status: CLOSED FIXED QA Contact: Bugs List <koha-bugs>
Severity: minor    
Priority: P5 - low CC: dpavlin
Version: Main   
Hardware: All   
OS: All   
GIT URL: Change sponsored?: ---
Patch complexity: --- Documentation contact:
Documentation submission: Text to go in the release notes:
Version(s) released in:
Circulation function:

Description Katrin Fischer 2011-01-11 16:25:00 UTC
In order to print item information in overdue notices you can use the <items></items> syntax. 

At the moment all information within those tags has to be on one line to make it output all overdue items. 

If you have a line break somewhere, only the 1st item will be printed to the overdue notice.

Line breaks would allow for more flexible formatting of the information.

Examples:

Works perfectly:
<item><<biblio.title>> <<biblio.author>>, Callnumber: <<items.itemcallnumber>> Barcode: <<items.barcode>> Fine: <fine>EUR</fine></item>

Will result in output of only 1 item:

<item>
<<biblio.title>> <<biblio.author>>, 
Callnumber: <<items.itemcallnumber>>
Barcode: <<items.barcode>> 
Fine: <fine>EUR</fine>
</item>
Comment 1 Dobrica Pavlinusic 2013-03-19 16:10:12 UTC
It seems to me that this multi-line problem was fixed since this bug was reported.
Comment 2 Katrin Fischer 2013-03-19 17:25:14 UTC
I saw it working for Dobrica - I believe it's save to mark this resolved.