From ec3a15ec2615442a3d607cd32d616e419c251fd4 Mon Sep 17 00:00:00 2001 From: mueli Date: Tue, 19 Jul 2011 07:49:58 -0400 Subject: [PATCH] --- ...4__meta__40__date__41____34___ignored.mdwn | 30 +++++++++++++++++++ 1 file changed, 30 insertions(+) create mode 100644 doc/bugs/__33__inline_sort__61____34__meta__40__date__41____34___ignored.mdwn diff --git a/doc/bugs/__33__inline_sort__61____34__meta__40__date__41____34___ignored.mdwn b/doc/bugs/__33__inline_sort__61____34__meta__40__date__41____34___ignored.mdwn new file mode 100644 index 000000000..e920eaa24 --- /dev/null +++ b/doc/bugs/__33__inline_sort__61____34__meta__40__date__41____34___ignored.mdwn @@ -0,0 +1,30 @@ +I am trying to do an !inline and sort the pages after meta(date) + +[[!inline pages="blog/* and !*/Discussion" sort="meta(date)" show="0" rootpage="blog" archive="yes"]] + +There are a few pages inside blog/* and I would like to give the !meta line as example for two of them: + +page 1: blog/get_http.mdwn +[[!meta title="HTTP GET method" date="2010-09-17 00:00:00"]] + +page 2: blog/nagios.mdwn +[[!meta title="Nagios 3" date="2010-09-09 00:00:00"]] + +page 3: blog/using_macos.mdwn +[[!meta title="How I am using Mac OS X" date="2010-06-10 00:00:00"]] + +The ordering which is created can be seen at [1] is + +page 1 +page 3 +page 2 + +which is obviously not correct. I can say that the ordering is regardless of the sort="" argument inside !inline done by the ctime. This is really annoying as ctime is hard to recover if one has to move the blog from one machine to another. + +- What am I doing wrong? +- Is this a bug? If not: Why is meta(date) ignored? + +% ikiwiki --version +ikiwiki version 3.20100815.7 + +[1] http://www.michael-hammer.at/blog_all/ -- 2.26.2