We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 18383
    • 11 Posts
    A second set of eyes here would be great. I am sorting a list of child resources by the "page title" field (which in this case is a name). Ditto is doing a nice job, but there are several names out of order. Any ideas? I have tried a few things but nothing so far is doing the trick. The Ditto call below currently produces the following results. Thanks MODx army wink Using Evo 1.0.3 Ditto 2.1.0

    [[Ditto? &parents=`10` &tpl=`member_name` &filter=`category,architects,1` &sortBy=`pagetitle ASC`]]


    AHM Architects, LLC
    The Buchholz Architectural Group, PC
    Clawson Architects
    ?--> Maria S. DeCosimo Architects
    Heintz & Fiore,A.I.A. Architects-Planners
    Hoffman Architects
    James Weill & Associates
    Katz/Novoa Architects
    Studio 1200
      • 28042 ☆ A M B ☆
      • 24,524 Posts
      Try it with &orderBy instead of &sortBy.
        Studying MODX in the desert - http://sottwell.com
        Tips and Tricks from the MODX Forums and Slack Channels - http://modxcookbook.com
        Join the Slack Community - http://modx.org
        • 18383
        • 11 Posts
        MarkMitchell Reply #3, 16 years ago
        I solved this issue. The solution was to add &sortDir=`ASC` as opposed to combining both values. This ditto snippit below works.


        [[Ditto? &parents=`10` &tpl=`member_name` &filter=`category,architects,1` &sortBy=`pagetitle` &sortDir=`ASC`]]