From d1e095d51bbf9653ec9abd392af5c6be43d715fa Mon Sep 17 00:00:00 2001 From: Partha Aji Date: Thu, 19 Jul 2018 18:05:46 -0400 Subject: [PATCH] Fixes #24188 - Filter by OSTree on RH Repos This commit corrects the 'scope search' parameter used by the "Filter by" dropdown on the RH Repos page to search OSTree and other content types. --- webpack/redux/actions/RedHatRepositories/helpers.js | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/webpack/redux/actions/RedHatRepositories/helpers.js b/webpack/redux/actions/RedHatRepositories/helpers.js index 5b8646b64d6..4816d3efc34 100644 --- a/webpack/redux/actions/RedHatRepositories/helpers.js +++ b/webpack/redux/actions/RedHatRepositories/helpers.js @@ -1,9 +1,9 @@ const repoTypeSearchQueryMap = { - rpm: '(name ~ rpms) and (name !~ source rpm) and (name !~ debug rpm)', - sourceRpm: 'name ~ source rpm', - debugRpm: 'name ~ debug rpm', - kickstart: 'name ~ kickstart', - ostree: 'name ~ ostree', + rpm: '(name ~ rpms) and (name !~ source rpm) and (name !~ debug rpm) and (content_type = yum)', + sourceRpm: '(name ~ source rpm) and (content_type = yum)', + debugRpm: '(name ~ debug rpm) and (content_type = yum)', + kickstart: 'content_type = kickstart', + ostree: 'content_type = ostree', beta: 'name ~ beta', };