[
https://issues.apache.org/jira/browse/JSPWIKI-480?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12745839#action_12745839
]
Janne Jalkanen commented on JSPWIKI-480:
----------------------------------------
I think the attachment tables are a bit odd because of
{code}
<td style="white-space:nowrap;" sortvalue="<fmt:formatDate value='<%=
att.getLastModified() %>' pattern='EEE, d MMM yyyy hh:mm:ss' />">
{code}
Might be far more efficient to use simply just
{code}
<td style="white-space:nowrap;" sortvalue="<%= att.getLastModified().getTime()
%>">
{code}
This would be a lot simpler and faster and still correct.
> 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, 3.0
> Reporter: Bruno Peeters
> Priority: Minor
> Fix For: 2.8.3
>
> 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.