Hi all,

I try to sort related objects by their position, but I must be doing something wrong... this is the code I use:

<mm:node number="examplebook">
        <mm:related
                path="posrel,pages"
                orderby="posrel.pos"
                fields="pages.title,pages.number,posrel.pos"
                directions="DOWN">

.. etc

But they seem to be coming out in random order. The funny thing is that when I reverse the sorting order to UP, the order is the other way around, so it does seem to sort on something...

I must be making some silly mistake... I am using MMBase 1.7

TIA,

        Michel

--
michel de bree <[EMAIL PROTECTED]>
developer @ imtech industry solutions



Reply via email to