Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Sort posts by published rather than by creation of draft #73

Open
jefflam opened this issue May 17, 2012 · 2 comments
Open

Sort posts by published rather than by creation of draft #73

jefflam opened this issue May 17, 2012 · 2 comments

Comments

@jefflam
Copy link

jefflam commented May 17, 2012

Hi NateW,

First off, I just want to say thank you for creating this 'replica' of svbtle. I would have created it for myself months back if you had not created it, as I too love the way that it is so distract-free. So, thank you on that!

Next, my coding skills isn't that great, still learning. However, throughout my weeks of using obtvse, I noticed that posts are sorted via the creation date of the post (draft or otherwise). I understand you simple switch 'on' or 'off' the draft property for the posts model, which can make it tricky for me to implement sorting of Posts by draft instead of creation date.

I ask this because I usually type in the draft random ideas or what not, and generally only publish them after a certain period of time depending on my mood of writing. Meanwhile, I have written and 'published' other posts. Thus, when I publish the post from before, it appears 'hidden'.

Any ideas?

Thanks!

@natew
Copy link
Owner

natew commented May 17, 2012

Yes its a known bug, for now I just copy it into a new post haha. I'm working on a solution on the refresh branch but its not done yet.

Nate
natewienert.com

On Thursday, May 17, 2012 at 1:17 AM, jefflam wrote:

Hi NateW,

First off, I just want to say thank you for creating this 'replica' of svbtle. I would have created it for myself months back if you had not created it, as I too love the way that it is so distract-free. So, thank you on that!

Next, my coding skills isn't that great, still learning. However, throughout my weeks of using obtvse, I noticed that posts are sorted via the creation date of the post (draft or otherwise). I understand you simple switch 'on' or 'off' the draft property for the posts model, which can make it tricky for me to implement sorting of Posts by draft instead of creation date.

I ask this because I usually type in the draft random ideas or what not, and generally only publish them after a certain period of time depending on my mood of writing. Meanwhile, I have written and 'published' other posts. Thus, when I publish the post from before, it appears 'hidden'.

Any ideas?

Thanks!


Reply to this email directly or view it on GitHub:
#73

@jefflam
Copy link
Author

jefflam commented May 18, 2012

Ah, that's a good hacking solution. :)

Alright, I'll await your solution then ;)

Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants