Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.

Bug 658533

Summary: Sorting on System Currency broken.
Product: Red Hat Satellite 5 Reporter: Martin Poole <mpoole>
Component: WebUIAssignee: Tomas Lestach <tlestach>
Status: CLOSED ERRATA QA Contact: Dimitar Yordanov <dyordano>
Severity: low Docs Contact:
Priority: medium    
Version: 540CC: adellape, asv, cale, cperry, dyordano, ege.turgay, xdmoon
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Previously, the web user interface did not allow a user to sort the systems on the System Currency Report page. This update adapts the aforementioned page to allow users to sort the systems according to any of the available columns.
Story Points: ---
Clone Of: Environment:
Last Closed: 2011-09-05 07:10:20 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: 715348    

Description Martin Poole 2010-11-30 16:33:52 UTC
Description of problem:

None of the column sorts on the System Currency report page work except System

The page appears to have a default javascript for every other column to attempt to sort by a 'created' value.


javascript:sortColumn('list_1646781657_sortby_id',%20'created',%20'list_1646781657_sortdir_id',%20'desc')

Comment 1 Tomas Lestach 2011-02-18 16:54:50 UTC
enable sorting according to all the columns except of score on SystemCurrency.do page

spacewalk.git: bfcf867f3a5506d38e258fceb26c79681e470744

Comment 5 Tomas Lestach 2011-07-18 08:27:56 UTC
Upstream BZ: Bug 722455

Comment 6 Tomas Lestach 2011-07-28 19:32:35 UTC
Introducing system sort according to currency score. (This BZ is kind of RFE :)

spacewalk.git: 6bca7abed49cc093d55464eb61f01105ef6d68b6

Comment 10 Tomas Lestach 2011-08-16 14:03:36 UTC
    Technical note added. If any revisions are required, please edit the "Technical Notes" field
    accordingly. All revisions will be proofread by the Engineering Content Services team.
    
    New Contents:
Consequence:
It wasn't possible to sort systems on the System Currency Report page.
Result:
Now, it's possible to sort systems on the System Currency Report page according to any column.

Comment 12 Tomas Lestach 2011-08-18 16:59:36 UTC
An extra commit to unify score calculation for WebUI and API
spacewalk.git: 99c7184cd60344651e44e01f9be89b4bd974212e

Comment 14 Dimitar Yordanov 2011-08-26 08:48:29 UTC
Verified. RHEL5/6
spacewalk-java-1.2.39-93.el6sat.noarch
spacewalk-java-lib-1.2.39-93.el6sat.noarch
spacewalk-taskomatic-1.2.39-93.el6sat.noarch
spacewalk-java-config-1.2.39-93.el6sat.noarch
spacewalk-java-oracle-1.2.39-93.el6sat.noarch

Comment 15 Jaromir Hradilek 2011-08-31 13:16:13 UTC
    Technical note updated. If any revisions are required, please edit the "Technical Notes" field
    accordingly. All revisions will be proofread by the Engineering Content Services team.
    
    Diffed Contents:
@@ -1,4 +1 @@
-Consequence:
+Previously, the web user interface did not allow a user to sort the systems on the System Currency Report page. This update adapts the aforementioned page to allow users to sort the systems according to any of the available columns.-It wasn't possible to sort systems on the System Currency Report page.
-Result:
-Now, it's possible to sort systems on the System Currency Report page according to any column.

Comment 16 errata-xmlrpc 2011-09-05 07:10:20 UTC
An advisory has been issued which should help the problem
described in this bug report. This report is therefore being
closed with a resolution of ERRATA. For more information
on therefore solution and/or where to find the updated files,
please follow the link below. You may reopen this bug report
if the solution does not work for you.

http://rhn.redhat.com/errata/RHBA-2011-1252.html