I'm not sure how this would affect anything, but my host migrated my account to a new server, and since then the order that the albums are displayed in my gallery are wrong.
http://squeebie.comThe admin / edit tab says this: "Current sort: ID descending"
The first album displayed there has an id of 30, it's clearly not the first in the database when I look at the table. If I change the setting for sort order in the admin, it doesn't seem to effect anything.
When I view the albums in the edit tab, they show in the order they're showing in my gallyer. If I manually drag an album, the current sort changes to manual, the page says that the save was successful, I see in the database that the sort_order column is updated correctly, but still the edit page and gallery still show the albums in the wrong order. I'm not even sure what order it's showing in now, but it's not what I want, and it seems to be ignoring any changes I make.
Any ideas?
Comments
Is there a way to have zenphoto log the sql statements or something? Or should I just start poking around in the code and see what / where things are going wrong?
Thanks.
I updated the column to have a default of NULL and updated the current values of my rows from 0 to NULL and that fixed it.
Thanks for all the suggestions.