Bug 467265

Summary: Incorrect sort method on Relevant Errata page for a system
Product: [Community] Spacewalk Reporter: Jeremy Mueller <jmueller>
Component: WebUIAssignee: Justin Sherrill <jsherril>
Status: CLOSED CURRENTRELEASE QA Contact: Red Hat Satellite QA List <satqe-list>
Severity: low Docs Contact:
Priority: medium    
Version: 0.2CC: jesusr
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2009-09-10 12:04:55 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On:    
Bug Blocks: 456554    
Attachments:
Description Flags
Screenshot of the dates sorted on my Spacewalk server. none

Description Jeremy Mueller 2008-10-16 15:58:21 UTC
Created attachment 320570 [details]
Screenshot of the dates sorted on my Spacewalk server.

Description of problem:

The Errata on the "Relevant Errata" page is sorted alphabetically instead of by date (numerically).  If you have an errata with a date of 10/3/2008, it will sort before 10/10/2008, which is sorted right before 10/1/2008.


Version-Release number of selected component (if applicable):


How reproducible:

Always

Steps to Reproduce:
1. Load several errata on separate dates (like 10/1/08, 10/3/08, 10/10/08.
2. Visit the Relevant Errata page for a system ( https://spacewalk.domain.name/rhn/systems/details/ErrataList.do?sid=XXXX )
3. View the Errata sort column, click on it a few times to see it reverse the sort.
  
Actual results:

The dates 10/10/08, 10/3/08, 10/1/08 would be sorted:

* 10/3/08
* 10/10/08
* 10/1/08

Expected results:

Those dates should be sorted like:

* 10/10/08
* 10/3/08
* 10/1/08

Additional info:

Comment 1 Justin Sherrill 2009-03-09 15:44:35 UTC
fixed

commit	7a7e03b7f4bfaf77ec45c53fdae86d58ae613a55
tree	c7aefe750a61245f9aff35c4f8b169e25a08eede	tree | snapshot
parent	101b2fb8d53d2c1f2dbeadd2e0fa6c3a288cb970	commit | diff

Comment 2 Miroslav Suchý 2009-09-10 12:04:55 UTC
Spacewalk 0.6 released