Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.
Red Hat Satellite engineering is moving the tracking of its product development work on Satellite to Red Hat Jira (issues.redhat.com). If you're a Red Hat customer, please continue to file support cases via the Red Hat customer portal. If you're not, please head to the "Satellite project" in Red Hat Jira and file new tickets here. Individual Bugzilla bugs will be migrated starting at the end of May. If you cannot log in to RH Jira, please consult article #7032570. That failing, please send an e-mail to the RH Jira admins at rh-issues@redhat.com to troubleshoot your issue as a user management inquiry. The email creates a ServiceNow ticket with Red Hat. Individual Bugzilla bugs that are migrated will be moved to status "CLOSED", resolution "MIGRATED", and set with "MigratedToJIRA" in "Keywords". The link to the successor Jira issue will be found under "Links", have a little "two-footprint" icon next to it, and direct you to the "Satellite project" in Red Hat Jira (issue links are of type "https://issues.redhat.com/browse/SAT-XXXX", where "X" is a digit). This same link will be available in a blue banner at the top of the page informing you that that bug has been migrated.

Bug 1596882

Summary: [RFE] Add sorting by product to GET /owners/{owner_key}/pools
Product: Red Hat Satellite Reporter: Christine Fouant <cfouant>
Component: CandlepinAssignee: satellite6-bugs <satellite6-bugs>
Status: CLOSED ERRATA QA Contact: jcallaha
Severity: medium Docs Contact:
Priority: high    
Version: 6.4CC: jsherril, khowell, pcreech
Target Milestone: 6.7.0Keywords: FutureFeature, UserExperience
Target Release: Unused   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: candlepin-2.7.2-1 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of:
: 1600588 (view as bug list) Environment:
Last Closed: 2020-04-14 13:22:58 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: 1600588    
Bug Blocks:    
Attachments:
Description Flags
verification screenshot
none
verification screenshot none

Description Christine Fouant 2018-06-29 22:52:48 UTC
Description of problem:

Currently the call to GET /owners/{owner_key}/pools only allows for sorting on the objects themselves. This is a RFE to allow this call to sort by product name.

Comment 1 Christine Fouant 2018-06-29 22:53:43 UTC
blocks https://projects.theforeman.org/issues/23471

Comment 8 Kevin Howell 2018-07-10 20:29:45 UTC
FYI, we discussed a bit internally, and we plan to implement a special endpoint for this (we don't want to support sorting by nested objects globally at this time).

So, FYI, it'll probably look something like /owners/{owner_key}/pools_ordered_by_product (subject to change).

Comment 9 jcallaha 2020-02-05 22:00:03 UTC
Verified in Satellite 6.7 Snap 10

Katello now sorts subscriptions by name. This is true through all interfaces.

See attached screenshots for verification.

Comment 10 jcallaha 2020-02-05 22:00:36 UTC
Created attachment 1658024 [details]
verification screenshot

Comment 11 jcallaha 2020-02-05 22:01:04 UTC
Created attachment 1658025 [details]
verification screenshot

Comment 14 errata-xmlrpc 2020-04-14 13:22:58 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/RHSA-2020:1454