howdy, i cant get my articles to change the sort direction at all. im using the following to call with ditto 1.02 and modx 0.9.2.1 and it sorts in ACS so the recent articles are at the bottom in the archive.
[!Ditto? &startID=`1` &summarize=`4` &sortBy=`createdon` &sortDir=`DESC` !]
changing DESC to ASC does nothing. changing createdon to pub_date lists all the articles in the same way but changes the date to the same date -the unix time stamp date minus my offset time in 1969 (weird) even though i have unpublished and republished my articles - it still sorts in the same way ascending.
thnx for your response
string(3) "off"
was at the top. for your information using the [!NewsListing? &startID=`1` &summarize=`4` !]
snippet sorts them in the order the articles are presnted in the left hand window not by created date or published date at all. i noticed this first in 0.9.1 could not fix it and upgraded to 0.9.2.1 and am trying to get Ditto working without success. Formely the NewsListing sorted the articles correctly with most recent at the top.
Bizzare. According to that everything is working.
Did you try the 1.1 beta?
just tried the beta and indeed it works fine without the hack...woohoo thanks.