Bug 9083 - Remove <<items.content>> form list of placeholders for CHECKIN/CHECKOUT notices
Summary: Remove <<items.content>> form list of placeholders for CHECKIN/CHECKOUT notices
Status: NEW
Alias: None
Product: Koha
Classification: Unclassified
Component: Notices (show other bugs)
Version: Main
Hardware: All All
: P5 - low minor (vote)
Assignee: Bugs List
QA Contact:
URL:
Keywords:
Depends on: 30259
Blocks:
  Show dependency treegraph
 
Reported: 2012-11-14 20:08 UTC by Katrin Fischer
Modified: 2023-01-08 01:57 UTC (History)
5 users (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 2012-11-14 20:08:38 UTC
As I understand it, the checkout and checkin notices use 'repetition markers' to generate a list of item/title information to display in the notice.

The list of fields in the notice editor includes <<items.content>> as an option. If this is not supported it should be removed. 

For testing I used following paragraph in my notice templates:

----
BIBLIO/BIBLIOITEMS
title <<biblio.title>>
frameworkcode <<biblio.frameworkcode>>
author <<biblio.author>>
biblionumber <<biblioitems.biblionumber>>
itemtype <<biblioitems.itemtype>>
isbn <<biblioitems.isbn>>
issn <<biblioitems.issn>>
publishercode <<biblioitems.publishercode>>
editionstatement <<biblioitems.editionstatement>>
editionresponsibility <<biblioitems.editionresponsibility>>
pages <<biblioitems.pages>>
notes <<biblioitems.notes>>
url <<biblioitems.url>>
ITEMSCONTENT
<<items.content>>
ITEMS
date due <<old_issues.date_due>>
branchcode <<old_issues.branchcode>>
returndate <<old_issues.returndate>>
issuedate <<old_issues.issuedate>>
----

No information was output between ITEMSCONTENT and ITEMS.
Comment 1 Jonathan Druart 2015-04-01 11:01:04 UTC
items.content only works with overdue and advanced notices.
Comment 2 Katrin Fischer 2015-04-01 12:09:39 UTC
I think it is not functional, it should ideally not appear in the list on the left side for markers to use in the notice - but not sure this can be done, as the notices are all in "circulation".
Comment 3 Barton Chittenden 2015-09-10 13:47:36 UTC
(In reply to Jonathan Druart from comment #1)
> items.content only works with overdue and advanced notices.

This is exactly right, and furthermore, items.content relies on the 'itemscontent' option of those scripts if any modifications are to be made to what <<items.content>> displays, so it doesn't make sense to use it anywhere else.

At this point, http://wiki.koha-community.org/wiki/Customising_Notices_and_Slips is the best documentation that we have for the expansion of variables.
Comment 4 Katrin Fischer 2023-01-08 01:57:33 UTC
I have adjusted my bug description - I think the real issue is the list in the editor.