Project

General

Profile

Actions

Bug #37534

closed

Filtering repositories on RH Repos page gives incorrect results

Added by Jeremy Lenz 6 months ago. Updated 5 months ago.

Status:
Closed
Priority:
Normal
Assignee:
Category:
Repositories
Target version:
Difficulty:
Triaged:
Yes
Fixed in Releases:
Found in Releases:

Description

On the Red Hat Repositories page, searching for a keyword only (without field names) does a preliminary SQL query to the katello_contents table:

SELECT "katello_contents"."cp_content_id" FROM "katello_contents" WHERE (label = 'coreservices')

The problem here is that the operator being used is =, which only matches exact results. Instead we should use the ~ operator.

Actions #1

Updated by The Foreman Bot 6 months ago

  • Status changed from New to Ready For Testing
  • Assignee set to Jeremy Lenz
  • Pull request https://github.com/Katello/katello/pull/11015 added
Actions #2

Updated by Partha Aji 6 months ago

  • Triaged changed from No to Yes
Actions #3

Updated by The Foreman Bot 5 months ago

  • Fixed in Releases Katello 4.14.0 added
Actions #4

Updated by Jeremy Lenz 5 months ago

  • Status changed from Ready For Testing to Closed
Actions

Also available in: Atom PDF