Hello, I'm trying to build an alphabetical list of items, grouped by letter. I've come up with the following: <dtml-var standard_html_header> <table> <dtml-in "portal_catalog( meta_type='Archive Map', path='/english/archives/5thedition', review_state='published')" sort=Title skip_unauthorized> <dtml-if first-sequence-Letter> <tr><td colspan=2><dtml-var sequence-Letter></td></tr> </dtml-if> <tr><td class="cell_contents">&dtml-Title;</td><td><a href="<dtml-var "getURL()">" class="link">View</a></td></tr> </dtml-in> </table> <dtml-var standard_html_footer> This works fine except that the "first-sequence-Letter" never seem to become true ...
From what I read in the docs:
first-variable True if the current item is the first with a particular value for a variable. What I did above should work, shouldn't it ? What am I doing wrong ? Thank you, Jean-François Doyon Internet Service Development and Systems Support GeoAccess Division Canadian Center for Remote Sensing Natural Resources Canada http://atlas.gc.ca Phone: (613) 992-4902 Fax: (613) 947-2410