Hi Christian,

Thanks for checking

On Thu, Apr 29, 2010 at 10:12 PM, Christian Boos <[email protected]> wrote:

>
> Strange, I have slightly different results:
>
> [[TitleIndex(Super/Parent, format=hierarchy)]]
>
>  * SuperParent
>      * page1
>          * page_A
>          * page_B
>      * page_C
>      * page_D
>
> Which is also wrong, but differently.
>  - SuperParent need to be '/' separated
>  - page1 shouldn't be linkified
>  - no page2 and page3...
>
> Besides, in the following:
>
> [[TitleIndex(Super/Parent, hideprefix, format=hierarchy)]]
>
>  * page_A
>  * page_B
>  * page_C
>  * page_D
>
> We also miss page[123].
>
> Definitely worth a second look.

I will check again tomorrow after reverting my changes.

Is it only me or do those list comprehensions with conditional
branches make anybody elses head hurt?

Is there a preference to keep that code the way it is - or to 'unroll'
it out to 'normal' loops + If statements? Though my guess is that
split_in_groups() is the cause of the complications.

>
> -- Christian
>
> --

Thanks
  Mark

-- 
You received this message because you are subscribed to the Google Groups "Trac 
Development" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/trac-dev?hl=en.

Reply via email to