We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 18397
    • 3,250 Posts
    It seems that a small bug snuck into Ditto 1.0.1...

    Unless a TV sort is used, the sort is inverted (ASC instead of DESC and vice versa).

    The temporary fix: Disable/Remove this code from the snippet if you do not need TV sorting:

      // ---------------------------------------------------
      // Sort array
      // ---------------------------------------------------
    
    if ($advSort != "0"){
    	$ditto->customSort($resource, $advSort, $sortDir);
    }
    


    This will be fixed in 1.0.2 which should be out later today.
      • 33453
      • 141 Posts
      Hate to say I told you so, but .... grin.

      Thought I’d tracked it but maybe not.
        • 18397
        • 3,250 Posts
        I somehow missed your post but there is no bugtracker entry under the Ditto project for what you describe (this I check before each release).