https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=40426

Irene <[email protected]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
         Resolution|WORKSFORME                  |---
             Status|RESOLVED                    |REOPENED

--- Comment #2 from Irene <[email protected]> ---
(In reply to Andrew Fuerste-Henry from comment #1)
> ILL data is already available:
> [%- FOREACH i IN borrower.ill_requests %]
> pickupbranch: [% i.branchcode %]
> title: [% i.biblio.title %]
> [%- END %]

Hi Andrew,

I’ve tested this using the Patrons (custom message) module. Standard borrower
fields (e.g. [% borrower.firstname %]) work as expected, but
`borrower.ill_requests` does not appear to be available in this context.

Attempting to use it (even within an IF block) results in a 500 error, and no
ILL-related fields are listed in the available template variables for this
notice type.

It may be that this variable is available in other notice contexts such as the
ILL module, but it doesn’t seem to be exposed in Patron custom messages which
is what Ray reported last year. 

Could you confirm whether `borrower.ill_requests` is expected to work in this
specific module, or if this is a limitation of the current implementation?

Thanks,

Irene

-- 
You are receiving this mail because:
You are watching all bug changes.
You are the assignee for the bug.
_______________________________________________
Koha-bugs mailing list
[email protected]
https://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/

Reply via email to