Bug #24137
closedGET content_view_filter_rules index API default search is set to :name, this doesnt work for errata rules
Description
Searching erratum rules always result in an error because of the default search is set to :name which doesn't exist with rule type=erratum
[root@centos7-katello-3-6 ~]# curl 'https://admin:changeme@centos7-katello-3-6.sean.example.com/katello/api/v2/content_view_filters/18/rules' | python m json.tool:--:-- --:--:-- --:--:-- 1424
{
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
100 198 0 198 0 0 1415 0 -
"error": "the field (name) in the order statement is not valid field for search",
"page": null,
"per_page": null,
"results": [],
"search": null,
"sort": {
"by": null,
"order": null
},
"subtotal": null,
"total": null
}
Updated by The Foreman Bot over 6 years ago
- Status changed from New to Ready For Testing
- Pull request https://github.com/Katello/katello/pull/7492 added
Updated by Anonymous over 6 years ago
- Status changed from Ready For Testing to Closed
Applied in changeset katello|026dbf73a674ca99228a138b7d8e0fae8201ede9.
Updated by John Mitsch over 6 years ago
- Category set to Content Views
- Target version set to Katello 3.9.0