Bug 5606 - items information in overdues should work with line breaks
Summary: items information in overdues should work with line breaks
Status: CLOSED FIXED
Alias: None
Product: Koha
Classification: Unclassified
Component: Notices (show other bugs)
Version: Main
Hardware: All All
: P5 - low minor (vote)
Assignee: Chris Nighswonger
QA Contact: Bugs List
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-01-11 16:25 UTC by Katrin Fischer
Modified: 2013-12-05 20:04 UTC (History)
1 user (show)

See Also:
Change sponsored?: ---
Patch complexity: ---
Documentation contact:
Documentation submission:
Text to go in the release notes:
Version(s) released in:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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.