Bug 467265 - Incorrect sort method on Relevant Errata page for a system
Summary: Incorrect sort method on Relevant Errata page for a system
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Spacewalk
Classification: Community
Component: WebUI
Version: 0.2
Hardware: All
OS: Linux
medium
low
Target Milestone: ---
Assignee: Justin Sherrill
QA Contact: Red Hat Satellite QA List
URL:
Whiteboard:
Depends On:
Blocks: space06
TreeView+ depends on / blocked
 
Reported: 2008-10-16 15:58 UTC by Jeremy Mueller
Modified: 2009-09-10 12:04 UTC (History)
1 user (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2009-09-10 12:04:55 UTC
Embargoed:


Attachments (Terms of Use)
Screenshot of the dates sorted on my Spacewalk server. (4.43 KB, image/png)
2008-10-16 15:58 UTC, Jeremy Mueller
no flags Details

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


Note You need to log in before you can comment on or make changes to this bug.