Sorting of multiple stories…

by Michael Alderete on 1/22/2002

A couple weeks ago I complained that the weblog software I’m using is doing something funny when sorting stories. Each day is sorted correctly, from most recent to least. But when a day has multiple stories, the stories are ordered the opposite, from oldest to youngest.

When I complained, I also vowed to fix. Unfortunately, in digging into the code that runs the site, that’s kind of hard, because only the publication date is being stored, i.e., there’s no time information to sort on.

So now instead of modifying a simple SQL statement, I will actually have to go in and modify the database, and hack at the application logic to keep some time information.

Probably more trouble than it’s worth. I’ll look for a shortcut.

Previous post:

Next post: