Actions
Bug #13035
closedHost fact search using ~ operator doesn't automatically add wildcards
Description
When searching for hosts by facts with the ~/LIKE operator, entering a simple keyword without wildcards would have added % to the start and end of the value to match it anywhere (e.g. facts.foo ~ bar
). Documented under wildcards at http://theforeman.org/manuals/1.10/index.html#4.1.5Searching.
Since #11150, the wildcards have to be added manually, e.g. facts.foo ~ %bar%
, which shouldn't be necessary.
Updated by Dominic Cleal almost 9 years ago
- Related to Feature #11150: Allow searching of facts as types other than string added
Updated by Dominic Cleal almost 9 years ago
- Related to Bug #12959: Host search based on fact value using LIKE clause does'nt work added
Updated by Dominic Cleal almost 9 years ago
- Status changed from Assigned to Duplicate
- Translation missing: en.field_release deleted (
104)
Actually, this is described at the start of #12959, I didn't spot that when reading it. I'll fix it under that ticket.
Actions