We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 20575
    • 36 Posts
    Hi. I’m having a bit of trouble sorting my ditto results. I cannot get them to display in the same order as document catalog tree can anyone tell me how to do this please? I am using latest MX and ditto 2.1.0. Many thanks.
      • 16278
      • 928 Posts
      You can sort the tree by a variety of parameters (Folder, resource title, ID, menu index, creation date, edited date, looking at the dropdown list in MODx 1.0.2).

      Similarly, you have the choice of any built-in field or template variable to use when sorting your Ditto results, using the &orderBy parameter to name the field(s) and direction(s) by whcih and in which to sort (and sub-sort). See http://www.pogwatch.com/ditto/ditto-sort.html for examples.

      Unless you mean you want to keep your Ditto sorting in synch with the tree, which I somehow doubt, but I dare say it’s possible.
      smiley KP

      P.S. This has prompted a close look at the sort choices in the manager, and the observation that "Resource’s title" appears twice in it. shocked JIRA, here I come!
        • 20575
        • 36 Posts
        Thanks for the help!