Issue in sorting date and time column
-------------------------------------

         Key: DISPL-340
         URL: http://jira.codehaus.org/browse/DISPL-340
     Project: DisplayTag
        Type: Bug

  Components: Paging/Sorting  
    Versions: 1.0    
    Reporter: Mustaq Basha


We have a field called Receivedtime in a list. This column hold date and time 
value.  Sort seems to be working fine for string, but it is not sorting in 
correct order for the date and time column.  The code was implemented in 
production 6 mnts back and business user noticed this bug now. The code is 
below for your reference. Please advice.


Code: 
<display:table class="DataTable1"  name="sessionScope.summaryvo" 
requestURI="viewSummary.do" sort="list" pagesize="20" >
     <display:column class="idcol"  property="accountName" title="Account Name" 
sortable="true"  />
    <display:column class="idcol"  property="recievedTime" title="Received Time 
(CST)" sortable="true"  />
</display:table>

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira



-------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
displaytag-devel mailing list
displaytag-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/displaytag-devel

Reply via email to