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

--- Comment #3 from Katrin Fischer <[email protected]> ---
(In reply to Mathieu Saby from comment #2)
> Oh I did not know it was only usable with hungry alligators.
> But then, how do you know the complete list of usable fields when you write
> a notice with TT ?

If you add fields form the list they will appear like << borrowers.surname >>
in the notice. But for TT you'd need [% borrower.surname %] for example. 

Also, you can "pull in" a lot of information via the object methods and
chaining, so the list would not be as fixed as it is now (which is super nice,
but makes it much harder to document and implement a nice editor)

Documentation is not quite where it should be. What we got:

- bug 15278
- bug 15279 
- bug 34472

(also have a look at the linked bugs)

In the wiki these are helpful:
https://wiki.koha-community.org/wiki/Notices_with_Template_Toolkit

Especially the table at the bottom. But if you see borrower in the list, it
doesn't mean you can't get other information through that borrower object - so
there is much more available than is visible on first glance. You could for
example get the information about the patron's homebranch, their checkouts,
their current fees etc.

-- 
You are receiving this mail because:
You are the assignee for the bug.
You are watching all bug changes.
_______________________________________________
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