Bug 1127871

Summary: Suspect metrics report, column "Metric" sort doesn't sort until you click several times
Product: [JBoss] JBoss Operations Network Reporter: John Mazzitelli <mazz>
Component: UIAssignee: RHQ Project Maintainer <rhq-maint>
Status: CLOSED CURRENTRELEASE QA Contact: Mike Foley <mfoley>
Severity: medium Docs Contact:
Priority: unspecified    
Version: JON 3.2.1CC: dsteigne, loleary, mfoley, miburman, myarboro
Target Milestone: ER01Keywords: Triaged
Target Release: JON 3.3.0   
Hardware: All   
OS: All   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
An issue with the sort order behaviour of the Suspect Metrics Report's "Metric" column caused the sorting icon to indicate a sort order change but the UI would not display the records correctly. For large record results (over 1000), if the user scrolled to the end of list and then scrolled to the start of the list, the sort order began to work correctly until the user left the page. The fix changes the report behaviour to allow server-side sorting on the Resource, Metric, Date/Time and Outlier fields which improves performance. The remaining fields are not sortable server-side and have client-side sorting only allowed (they are sortable after all the data has been loaded to the client).
Story Points: ---
Clone Of: 1113707 Environment:
Last Closed: 2014-12-11 14:00:29 UTC Type: Bug
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: 1113707    
Bug Blocks:    

Description John Mazzitelli 2014-08-07 18:03:23 UTC
+++ This bug was initially created as a clone of Bug #1113707 +++

Description of problem:
If you click on title to sort it and scroll to the end of list and scroll to the up again it starts working till you leave page. There are over 1000 records, if there are only a few then it works as expected.

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

How reproducible:


Steps to Reproduce:
1.
2.
3.

Actual results:


Expected results:


Additional info:

--- Additional comment from Michael Burman on 2014-07-07 15:19:02 EDT ---

Changed the behaviour to allow server-side sorting on the Resource, Metric, Date/Time and Outlier fields. Rest of the fields are not sortable server-side and have client side sorting only allowed (they will be sortable after all the data has been loaded to the client).

Fixed in master commit 3fa0ecb.

Comment 1 John Mazzitelli 2014-08-07 20:08:26 UTC
looks like this already made it to the branch:

git cherry-pick -x 3fa0ecb

# On branch release/jon3.3.x
nothing to commit (working directory clean)
The previous cherry-pick is now empty, possibly due to conflict resolution.

Comment 2 Simeon Pinder 2014-08-19 23:50:42 UTC
Moving to ON_QA as available to test in the following brew build:

https://brewweb.devel.redhat.com//buildinfo?buildID=379025

Comment 5 Red Hat Bugzilla 2023-09-14 02:45:22 UTC
The needinfo request[s] on this closed bug have been removed as they have been unresolved for 1000 days