}
if (exists $params{sort} && $params{sort} eq 'title') {
- @list=sort @list;
+ @list=sort { pagetitle(basename($a)) cmp pagetitle(basename($b)) } @list;
}
elsif (exists $params{sort} && $params{sort} eq 'mtime') {
@list=sort { $pagemtime{$b} <=> $pagemtime{$a} } @list;
[ Josh Triplett ]
* Add Suggests on texlive and texlive-science for the teximg plugin
+ [ Joey Hess ]
+ * inline: Ignore parent dirs when sorting pages by title.
+
-- Josh Triplett <josh@freedesktop.org> Wed, 06 Aug 2008 20:56:06 -0700
ikiwiki (2.56) unstable; urgency=low
* `reverse` - If set to "yes", causes the sort order to be reversed.
* `feedshow` - Specify the maximum number of matching pages to include in
the rss/atom feeds. The default is the same as the `show` value above.
+
+> Thanks for the patch. [[done]], but I left off the sort=path. Also left
+> off the lc (if you ask your locale to sort case-sensatively, it should, I
+> think). --[[Joey]]