Bug 1732836 - Sorting not working in Chargeback Reports listing table
Summary: Sorting not working in Chargeback Reports listing table
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: OpenShift Container Platform
Classification: Red Hat
Component: Management Console
Version: 4.2.0
Hardware: Unspecified
OS: Unspecified
unspecified
medium
Target Milestone: ---
: 4.2.0
Assignee: David Taylor
QA Contact: Yadan Pei
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2019-07-24 13:24 UTC by David Taylor
Modified: 2019-10-16 06:31 UTC (History)
5 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2019-10-16 06:31:08 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Github openshift console pull 2155 0 None closed Bug 1732836: Converted Chargeback Report Usage tables to pf4 Tables 2020-02-27 08:56:00 UTC
Red Hat Product Errata RHBA-2019:2922 0 None None None 2019-10-16 06:31:18 UTC

Description David Taylor 2019-07-24 13:24:37 UTC
Description of problem:
Clicking on table column heading does change the sort arrow direction, but  rows still remain in original sort order.

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

How reproducible:
Always

Steps to Reproduce:
1. Enable Metering, admin user goes to Administration -> Chargeback page, create an 3 example Reports using `Create Report` button
2. Click on Name table column heading

Actual results:
1. Sort arrow changes, but rows remain in original sort order


Expected results:
1. rows would change order, either to ascending or descending

Additional info:

Comment 2 Yadan Pei 2019-08-05 07:18:30 UTC
1. cluster admin enables Metering, goes to Administration -> Chargeback page, create some reports, for example cluster-cpu-usage,node-memory-capacity,namespace-memory-request
2. Clicking on the sorting arrow of report Name, the rows changes based on the direction


Verified on registry.svc.ci.openshift.org/ocp/release:4.2.0-0.nightly-2019-08-01-224308 with console commit: io.openshift.build.commit.id=ee83581394a880fa7f33b971b4e3311337259168

$ git log ee83581394a880fa7f33b971b4e3311337259168 | grep '#2155'
    Merge pull request #2155 from dtaylor113/chargeback-pftable

Comment 3 errata-xmlrpc 2019-10-16 06:31:08 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory, and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

https://access.redhat.com/errata/RHBA-2019:2922


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