Skip to content

Commit

Permalink
Fixes #24188 - Filter by OSTree on RH Repos
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
parthaa committed Jul 19, 2018
1 parent 62b93c1 commit d1e095d
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions 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',
};

Expand Down

0 comments on commit d1e095d

Please sign in to comment.