Bug #5573
closed
Statistics link for OS results in field 'os_description' not recognized for searching
Added by Edwin Starkey almost 11 years ago.
Updated almost 7 years ago.
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.
- Status changed from New to Need more information
Do you have :unattended set to true or false in /etc/foreman/settings.yaml?
The 'unattended' setting is false.
- 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.
- Is duplicate of Bug #8043: Statistics link to OS is wrong added
- Is duplicate of deleted (Bug #8043: Statistics link to OS is wrong)
- Related to Bug #8043: Statistics link to OS is wrong added
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.
- Status changed from New to Assigned
- Assignee set to Ori Rabin
- Status changed from Assigned to Ready For Testing
- Pull request https://github.com/theforeman/foreman/pull/1946 added
- Pull request deleted (
)
- Translation missing: en.field_release set to 21
- Status changed from Ready For Testing to Closed
- % Done changed from 0 to 100
Also available in: Atom
PDF