Octavian,
> [% FOREACH r = ref.keys %]
> <a href="/program?id=[% r %]">[% ref.title _ " " _ ref.number %]</a>
> [% END %]
>
> But I want those links be sorted by the ref.number. Is it possible? Or I
> need to create another array with the keys of the hash I want to sort in
> order and then loop that array?
Doesn't this
[% FOREACH r = ref.sort('number') %]
work?
-- Buddy
_______________________________________________
templates mailing list
[email protected]
http://lists.template-toolkit.org/mailman/listinfo/templates