00:35:16 -GitHub[nikola]:#nikola- [nikola] erdgeist opened pull request #1635: Add two parameters to post-list directive to allow for sorting posts (master...sorted-post-lists) http://git.io/pytE 12:37:39 <erdgeist> ChrisWarrick: Setting the dates on posts to fix the order they are rendered in had the ugly side effect of reordering the post-list I showed them in. 12:38:38 <erdgeist> ChrisWarrick: So I wrote the patch that allows sorting posts in post-lists 12:40:12 <erdgeist> ChrisWarrick: I don't know what the appropriate way to introduce features to nikola is, so I just made a pull request 12:44:56 <ralsina> erdgeist: that is the appropiate way 12:45:59 <erdgeist> ralsina: Ah, okay. 12:46:16 <ralsina> erdgeist: how about sorting by a metadata field? 12:46:34 <ralsina> erdgeist: that way you could sort differently the same post in two different lists 12:47:16 <erdgeist> this is what I do 12:47:32 <erdgeist> and you would say :sort: <metadata field> 12:47:42 <ralsina> something like that 12:48:00 <ralsina> and default to date 12:48:02 <erdgeist> to have it sorted by that field. So you can chose "title" or "date", or if you chose :sortnum: prio 12:48:09 <erdgeist> It is sorted by date anyway 12:48:30 <ralsina> yes, that's why that would be the default :-) 12:49:15 <erdgeist> Hmm, I am not THAT fluent in python (yet), so I wouldnt know how to set the default value if the :sort: parameter comes without option 12:50:21 <ralsina> let me check an example 12:50:44 <erdgeist> ralsina: Well, the patch is right here: https://github.com/erdgeist/nikola/commit/126156d8a30788078dfab4d69dfb2f5cfc63e306 12:50:57 <ralsina> erdgeist: ok, I'll look at it in my lunch hour 12:51:19 <erdgeist> ralsina: What time zone is that? :) 12:51:28 <ralsina> it's in ~3 hours 12:53:06 <erdgeist> So that would be south america, then? 19:18:05 <erdgeist> Is natsort usually installed? 19:23:04 <ChrisWarrick> erdgeist: yes 19:23:11 <ChrisWarrick> erdgeist: we depend on it in galleries, for example 19:27:25 <erdgeist> ahh cool 19:27:33 <erdgeist> Looks exactly what I was looking for, yesterday 20:21:47 <erdgeist> Much more betterer 20:22:57 <erdgeist> ChrisWarrick: Thanks for the tip.