Project

General

Profile

Actions

Bug #24137

closed

GET content_view_filter_rules index API default search is set to :name, this doesnt work for errata rules

Added by Sean O'Keeffe almost 6 years ago. Updated over 5 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Category:
Content Views
Target version:
Difficulty:
trivial
Triaged:
Yes
Fixed in Releases:
Found in Releases:

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:/katello/api/v2/content_view_filters/18/rules' | python m json.tool
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
100 198 0 198 0 0 1415 0 -
:--:-- --:--:-- --:--:-- 1424 {
"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
}

Actions #1

Updated by The Foreman Bot almost 6 years ago

  • Status changed from New to Ready For Testing
  • Pull request https://github.com/Katello/katello/pull/7492 added
Actions #2

Updated by Anonymous over 5 years ago

  • Status changed from Ready For Testing to Closed
Actions #3

Updated by John Mitsch over 5 years ago

  • Category set to Content Views
  • Target version set to Katello 3.9.0
Actions #4

Updated by John Mitsch over 5 years ago

  • Triaged changed from No to Yes
Actions

Also available in: Atom PDF