Project

General

Profile

Bug #22241

Filtering by repository is not working in Packages/Errata/OSTree view

Added by Partha Aji over 3 years ago. Updated about 3 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Category:
Web UI
Target version:
Difficulty:
Triaged:
Bugzilla link:
Fixed in Releases:
Found in Releases:

Description

Steps to Reproduce:
1. Create product.
2. Add custom repository 'zoo' to product, sync it.
3. Add Red Hat subscription.
4. Add Red Hat repository with Satellite too, sync it.
5. Navigate to packages.
6. Select Red Hat repository. RPMs related to it may be shown
7. Select custom repository 'zoo'.

Actual results:
Packages related to Red Hat repository shown

Expected results:
Packages related to 'zoo' repository should be shown

Similar behavior is also seen on errata and ostree searches

Moreover when observed via the inspector that multiple duplicate searches happen every time a new repository is selected with the wrong repositoryId in some cases.

Associated revisions

Revision 96f528a5 (diff)
Added by Partha Aji over 3 years ago

Fixes #22241 - fix double search on Packages

This commit fixes an issue where a search was executed
twice for pages that included an unnecessary query
string parameter for search (repositoryId).

History

#1 Updated by Partha Aji over 3 years ago

  • Bugzilla link set to 1514457

#2 Updated by The Foreman Bot over 3 years ago

  • Status changed from New to Ready For Testing
  • Pull request https://github.com/Katello/katello/pull/7146 added

#3 Updated by Partha Aji over 3 years ago

  • % Done changed from 0 to 100
  • Status changed from Ready For Testing to Closed

#4 Updated by Justin Sherrill over 3 years ago

  • Legacy Backlogs Release (now unused) set to 284

Also available in: Atom PDF