Closed durden closed 12 years ago
I know why this happens. The query has to order by publish_dt or it wouldn't make sense, however, draft posts publish_dt field is set to NULL because it hasen't been published yet. We could do the following:
If you have any other ideas let me know.
I vote for one of the following:
Thoughts? I'm not really married to either of the ideas. I'm not too sure I even like the 'My homepage.' Maybe it should be 'My Published Posts' or something, but then parity is lost with the 'My Drafts' link.
I'm going to vote on option #2 from above 'My Posts' with sub links for 'Published' and 'Drafts'. I'll take care of this unless you have better ideas.
ok sounds good
So that commit is the first attempt. It just makes 'My Posts' a dropdown for 'Published' and 'Drafts'. The 'homepage' for a user (codrspace.com/
cool. thanks.
I couldn't find a way to get to your posts page ex. codrspace.com/glenbot/ .. When you click the my posts link it shows the dropdown. Did you add a link somwhere else?
I didn't add a link for that. It's now see published or drafts when your logged in. I wasn't sure if we needed this link anymore or if it should be the codrspace log, etc. Maybe another link in the 'My Posts' dropdown should be 'homepage' or something. I would like to have a link for that, just not sure where now.
Im going to consider this closed.
When viewing my own posts (logged in) the most recent 'published' posts are at the top. I had a 'draft' that was newer than my published posts as far as time goes, but it was at the very bottom of my 'homepage.'
Maybe we should make it more clear how draft posts are ordered for logged in users on their own page of posts. There are a few options that I can think of:
The goal here again is to easily find a draft post and/or a published post and make the ordering obvious to the user.