[Koha-devel] ISSUESLIP and old_checkouts in template code

Mark Alexander marka at pobox.com
Thu Oct 24 15:24:54 CEST 2019


I'm trying to access old_checkouts in an ISSUESLIP like this:

  [% FOREACH checkout IN old_checkouts %]

This seems to return an empty list, which is not surprising given that
the ISSUESLIP supposedly doesn't get passed the old_checkouts
variable, according to the wiki:

  https://wiki.koha-community.org/wiki/Notices_with_Template_Toolkit

I've been trying to figure out how to get old_checkouts passed to
ISSUESLIP, but I'm not too familiar with the code.  As best as I can
tell, this needs to be done somewhere in C4/Members.pm, perhaps in the
IssueSlip function, but it's not clear to me what I need to do.

Any guidance would be appreciated.  Thanks in advance!


More information about the Koha-devel mailing list