Actions
Bug #29231
openSearch options have result limits
Status:
New
Priority:
Normal
Assignee:
-
Category:
-
Target version:
-
Description
While testing
--provisioning-template-searchoption for hammer os [add|remove]-provisioning-template subcommands I've noticed that we have it quite broken. It works, but the search result is limited to `per_page` setting in Foreman. Example: I've got an OS with 30 associated templates, 25 of which have prefix `dis_`. If I want to [dis]associate all the templates with this prefix, I will need to run a command with `--...-search` option twice in case I've got `per_page` set to 20 in Foreman. This has been kinda resolved as part of https://github.com/theforeman/hammer-cli-foreman/pull/417, but the solution works only on basic name resolving (uses `--...-name[s]` option).
The solution for this issue should introduce general way of resolving {associated_resource}-search options.
Actions