We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 26656
    • 10 Posts
    I have big problem with http://gremonaparty.com/ site. I want to sort events in this page by menuindex but not working. This is my code


    [[Ditto? &startID=`39` &tpl=`blog` &summarize=`20` &displayArchive=`0` &truncLen=`320` &trunc=`1` &sortBy=`menuindex` &truncChars=`1` ]]

    Why events are not sorted? Problem is that before we move to new server everything works,

    regards
      • 25663 MODX Staff
      • 12,272 Posts
      Are you running MySQL server version 5.0.51? If so, that’s the reason—a confirmed bug that has been solved in the recently released community version 5.0.67.

        Ryan Thrash, MODX Co-Founder
        Follow me on Twitter at @rthrash or catch my occasional unofficial thoughts at thrash.me
        • 26656
        • 10 Posts
        thx yes problem is in 5.0.51a-community


        thx
          • 16545
          • 358 Posts
          Ditto sorting using "orderBy" - rightway
          using "sortBy" - badway
          P.S. must be the last Ditto version
            • 28042 ☆ A M B ☆
            • 24,524 Posts
            One is the snippet parameter, the other is an internal variable that incorporates the parameters for use in the database query.
              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