Actions
Bug #4311
closedName searches don't work when there are other parameters in the search route
Description
Search by name works fine when the resource is searchable globally.
Eg.
hammer architecture info --name i386 # hits /api/architectures?search= ...
The problem occurs when the name must be searched in scope of some other resource, eg. org:
hammer sync_plan info --name test --organization-id ACME_Corporation # hits /api/organizations/ACME_Corporation/sync_plans?search= ...
The search function doesn't have access to the organization id and the api call fails with "missing parameter" exception.
Actions