You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am using a modified older version. It always pulled the posts out in the right order before my site moved server. Now the posts come out in a consistent but not newest descending order. Do you have any idea why the directoryIterator loop would change the order of the files retrieved? I am using YYYY-MM-DD
The text was updated successfully, but these errors were encountered:
Hey, sorry for the late reply! I read the email notification and then completely forgot about it, until I had occasion to look at the repo again today (hashtag adhd).
It definitely sounds like there's some weird difference between your old server and new server, but diagnosing what that difference is might be annoying.
Since you said you're on a modified older version, perhaps you could just modify it a bit more to add part of the latest update, the bit that manually sorts posts to avoid these sorts of issues?
There's only two little bits of code you'd need to add:
Hi,
I am using a modified older version. It always pulled the posts out in the right order before my site moved server. Now the posts come out in a consistent but not newest descending order. Do you have any idea why the directoryIterator loop would change the order of the files retrieved? I am using YYYY-MM-DD
The text was updated successfully, but these errors were encountered: