]> sipb.mit.edu Git - ikiwiki.git/commitdiff
web commit by hb
authorjoey <joey@0fa5a96a-9a0e-0410-b3b2-a0fd24251071>
Thu, 8 Feb 2007 14:02:30 +0000 (14:02 +0000)
committerjoey <joey@0fa5a96a-9a0e-0410-b3b2-a0fd24251071>
Thu, 8 Feb 2007 14:02:30 +0000 (14:02 +0000)
doc/patchqueue/inline_-_sort_by_old_first.mdwn

index 879acb8666d33eb43f54218abd1a1532051bbe9b..9054beadcca61ad46cb7dc621233e604e37acf09 100644 (file)
@@ -21,6 +21,8 @@ this patch adds a new type of sort "old".
 > the "age" lines just above them. It's identical; age already does what
 > you want. --[[Joey]]
 
 > the "age" lines just above them. It's identical; age already does what
 > you want. --[[Joey]]
 
+>> Well, $b and $a are switched in 'old' comparing to 'age'... According to the documentation, *The default, "age" is to sort newest pages first*. I just want the reverse, and that's why I just switched the $a and $b args of the sort func.... --HB
+
 However, I wonder if it would be better to add another option for inline like "sortorder" with "desc" or "asc" keywords ?
 
 > That might be cleaner, since it would allow sorting pages in reverse by
 However, I wonder if it would be better to add another option for inline like "sortorder" with "desc" or "asc" keywords ?
 
 > That might be cleaner, since it would allow sorting pages in reverse by