Bug 1020140 - Sorting based on "Available" column in "All available subscriptions" tab is not working
Sorting based on "Available" column in "All available subscriptions" tab is n...
Product: Red Hat Enterprise Linux 7
Classification: Red Hat
Component: subscription-manager (Show other bugs)
Unspecified Unspecified
unspecified Severity unspecified
: rc
: ---
Assigned To: candlepin-bugs
John Sefler
Depends On:
Blocks: rhsm-rhel70
  Show dependency treegraph
Reported: 2013-10-17 02:36 EDT by Rehana
Modified: 2014-01-03 14:30 EST (History)
1 user (show)

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Last Closed: 2014-01-03 14:30:22 EST
Type: Bug
Regression: ---
Mount Type: ---
Documentation: ---
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---

Attachments (Terms of Use)
ascendingorder (116.16 KB, image/png)
2013-10-17 02:38 EDT, Rehana
no flags Details
descendingorder (113.07 KB, image/png)
2013-10-17 02:40 EDT, Rehana
no flags Details

  None (edit)
Description Rehana 2013-10-17 02:36:34 EDT
Description of problem:
Observed that sorting based on "Available" quantity on "All available subscriptions" tab is not sorting correctly

Version-Release number of selected component (if applicable):
subscription-manager version
server type: Red Hat Subscription Management
subscription management server: 0.8.29-1
subscription-manager: 1.10.3-1.git.3.d610508.el7
python-rhsm: 1.10.3-1.git.0.6ac2883.el7

How reproducible:

Steps to Reproduce:
1.Register machine to candlepin server
2.Launch sub-man-gui
3.Move to "All available subscriptions"
4.Click on update ( with 'match my  system', 'have no overlap with existing subscriptions' selected)
5.sort based on the "Available" subscriptions 

Actual results:
Observed that the sorting is not working (PFA)

Expected results:
sorting based on the "Available" subscription should list the subscriptions based on the available subscriptions

Additional info:

observed that when less number of available subscriptions are present the sort is working as exepected, example list subscription for match installed products (say only 3 products are installed)
Comment 1 Rehana 2013-10-17 02:38:53 EDT
Created attachment 813194 [details]
Comment 2 Rehana 2013-10-17 02:40:00 EDT
Created attachment 813195 [details]
Comment 3 Carter Kozak 2014-01-03 14:30:22 EST
I don't think this is a bug.  pools are sorted by the parent node first (for stacks this is blank in the available field).  It's not particularly useful this way, but there's not much we can do, and I don't think changing it would expose more information, or make it easier to use.

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