Bug #5573
closedStatistics link for OS results in field 'os_description' not recognized for searching
Description
To reproduce, view the 'All hosts' page, then enter a filter such as:
os_description="RHEL Server 6.4"
This error is displayed:
Field 'os_description' not recognized for searching!
When you view the Statistics page and click an element of the "OS Distribution" pie chart, you are directed to the 'All hosts' page with the aforementioned filter.
This functionality used to work in a previous version. Sorry, I don't remember which one, probably 1.3.
Updated by Dominic Cleal over 10 years ago
- Status changed from New to Need more information
Do you have :unattended set to true or false in /etc/foreman/settings.yaml?
Updated by Dominic Cleal over 10 years ago
- Subject changed from Field 'os_description' not recognized for searching to Statistics link for OS results in field 'os_description' not recognized for searching
- Status changed from Need more information to New
- Difficulty set to trivial
Thanks, that's what I suspected.. seems the OS related search definitions are only in the unattended=true section of app/models/concerns/hostext/search.rb, but probably shouldn't be.
Updated by Ori Rabin over 10 years ago
- Is duplicate of Bug #8043: Statistics link to OS is wrong added
Updated by Dominic Cleal over 10 years ago
- Is duplicate of deleted (Bug #8043: Statistics link to OS is wrong)
Updated by Dominic Cleal over 10 years ago
- Related to Bug #8043: Statistics link to OS is wrong added
Updated by Dominic Cleal over 10 years ago
It's not exactly a duplicate, but maybe we can fix it at the same time. This only happens in unattended=false mode, which exposes different OS search options.
Updated by Ori Rabin about 10 years ago
- Status changed from New to Assigned
- Assignee set to Ori Rabin
Updated by The Foreman Bot about 10 years ago
- Status changed from Assigned to Ready For Testing
- Pull request https://github.com/theforeman/foreman/pull/1946 added
- Pull request deleted (
)
Updated by Dominic Cleal about 10 years ago
- Translation missing: en.field_release set to 21
Updated by Ori Rabin about 10 years ago
- Status changed from Ready For Testing to Closed
- % Done changed from 0 to 100
Applied in changeset 7c3c0594afc76abbd6e684ef24c683d9d65e760e.