incubator-jspwiki-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Janne Jalkanen (JIRA)" <j...@apache.org>
Subject [jira] Commented: (JSPWIKI-480) Attachments not correctly sorted
Date Tue, 03 Feb 2009 18:41:59 GMT

    [ https://issues.apache.org/jira/browse/JSPWIKI-480?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12670053#action_12670053
] 

Janne Jalkanen commented on JSPWIKI-480:
----------------------------------------

I suspected as much.  This problem is very complex, since there's no way really to know what
the correct sort order should be.

One trick could be to add a "sort_order" attribute to the date, and put the modification time
as a long or ISO8601 (which is sortable) into it.  Then Dirk's code could simply check for
the existense of the sortkey, and then use that instead of the actual value of the <td>
should it exist.  How does this sound?

> Attachments not correctly sorted
> --------------------------------
>
>                 Key: JSPWIKI-480
>                 URL: https://issues.apache.org/jira/browse/JSPWIKI-480
>             Project: JSPWiki
>          Issue Type: Bug
>    Affects Versions: 2.8.1
>            Reporter: Bruno Peeters
>            Priority: Minor
>         Attachments: attachments-sort.jpg, JSPWIKI-480a.png, JSPWIKI-480b.png
>
>
> The list of attachments for a wiki page can be sorted according to date modified (up
& down). In both cases, the timepart of the datetime is not taken into account in the
sort. 

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


Mime
View raw message