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

Also available in: Atom PDF