Hi,
I am trying to order published docs residing in a container, by menu index.
On a trial page where ditto is creating output for the codaslider this seems to work fine, difference, no FURL on that page.
On the site where it all should happen, it does not order by that menuindex. On that page FURL is active. Both pages run Ditto 2.1 both on Modx 1.0.2.
Here is the call, very simple:
[!Ditto? &startID=`[*id*]` &orderBy=`menuindex DESC` &tpl=`contentTpl` &debug=`1`!]
Debug shows this
Basic Info
Version 2.1.0
Summarize 7
Total 7
Start 0
Stop 7
IDs 3, 4, 5, 6, 7, 8, 9
Sort By Sort Direction
menuindex DESC
And this is the indexes page ID s used vs output order>
page 1 id 3 index 1 output place 1
page 2 id 4 index 3 output place 2
page 3 id 6 index 4 output place 4
page 4 id 5 index 5 output place 3
page 5 id 7 index 6 output place 5
page 6 id 8 index 7 output place 6
page 7 id 9 index 8 output place 7
So it seems the pages are indexed by their ID s rather than the menuindex.
Why would that be?
Thanks, Frank.