Content -> Errata : type and severity search filters are case sensitive
Cloned from https://bugzilla.redhat.com/show_bug.cgi?id=1213819
Description of problem:
I have noticed that the values for the search filter are case sensitive.
type = enhancement shows list of errata but type = Enhancement returns nothing.
severity = Critical shows list of errata but severity = critical returns nothing.
If the values are case sensitive then we should provide dropdown list for those options.
Version-Release number of selected component (if applicable):
Steps to Reproduce:
1. go to Content -> Errata
in the search filter,
2. enter "type = enhancement" : returns list of errata
3. enter "type = Enhancement" : returns nothing
4. enter "severity = Critical" : returns list of errata
5. enter "severity = critical" : returns nothing
Inconsistent results across options.
Consistent results across options. If the values are to be case sensitive, then we should provide dropdown list for those options.
Issues raised by AshishH during April 15th test day
#1 Updated by Walden Raines almost 7 years ago
- Status changed from New to Closed
After looking into this further I have realized this is how this search is supposed to work. The "=" operator literally means equals and not similar to. If you want to search for "Bugfix" instead of "bugfix" you need to use the "~" operator. I think that this is the expected behavior and you'd only run into this issue by purposefully capitalizing the severity or type since we have autocomplete for this search.
Note also that if you search just for "Bugfix"(i.e. without using the = operator) you will get the correct results.