Sort paramater not a problem; Revised steps to reprodce

master
http://dtrt.org/ 2008-12-20 19:36:15 -05:00 committed by Joey Hess
parent 6042e607f3
commit faa01bd432
1 changed files with 27 additions and 0 deletions

View File

@ -57,3 +57,30 @@ out the sort option. --[[Joey]]
return sprintf(gettext("unknown sort type %s"), $params{sort}); return sprintf(gettext("unknown sort type %s"), $params{sort});
} }
> On further testing, I find that the bug is limited to the first time
> creation time should be used and has nothing to do with setting the sort
> parameter. Revised steps to reproduce: --[David A. Harding](http://dtrt.org), 2008-12-20
>
> 1. Create pages that sort different by mtime and ctime
>
> 2. inline pages="somepages/*"
>
> 3. ikiwiki --setup setup_file
>
> 4. Pages are output incorrectly in mtime order
>
> 5. ikiwiki --setup setup_file
>
> 6. Pages are output correctly in ctime order
>
> 7. Create new page in somepages/, set its ctime to earlier than another
> page in sompages/
>
> 8. ikiwiki --setup setup_file
>
> 9. All previously sorted pages output correctly in ctime order but new
> page is output incorrectly at the top as if its mtime was its ctime
>
> 10. ikiwiki --setup setup_file
>
> 11. All pages, including new page, are output correctly in ctime order