18 Oct
2017
18 Oct
'17
10:04 a.m.
On 18/10/2017 10:42, Russell Jenkins wrote:
On 18/10/17 8:13 pm, Richard Jones wrote:
I've been caught by that before. Try [% entries.$id.item('_id') %]. For some reason (would interested to learn what), TT doesn't seem to be able to cope with leading underscores in data structures.
That's documented in Template::Manual::Variables, which states
Any key in a hash which starts with a '_' or '.' character will be considered private ...
Thanks Russell, that's exactly it. Obviously I didn't RTFM (or had forgotten I'd done it eons ago). -- Richard Jones