Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Inventory host search using equals rather than contains #9226

Open
djj106 opened this issue Feb 3, 2021 · 1 comment
Open

Inventory host search using equals rather than contains #9226

djj106 opened this issue Feb 3, 2021 · 1 comment

Comments

@djj106
Copy link
Contributor

@djj106 djj106 commented Feb 3, 2021

ISSUE TYPE
  • Bug Report
SUMMARY

Searching for a host in inventory looks for an exact match rather than using contains. Searching for other things (job templates, etc) use the contains method. I'm assuming they should all be using contains to be consistent.

Url example when searching for a host in inventory:
https://awx.company.net/#/inventories/inventory/2/hosts?host.name=demo

ENVIRONMENT
  • AWX version: 17.0.1
  • AWX install method: docker on linux
  • Ansible version: X.Y.Z
  • Operating System:
  • Web Browser:
STEPS TO REPRODUCE
EXPECTED RESULTS
ACTUAL RESULTS
ADDITIONAL INFORMATION
@awxbot awxbot added the type:bug label Feb 3, 2021
@mabashian
Copy link
Contributor

@mabashian mabashian commented Feb 8, 2021

Yea, it should be __icontains by default to match the UX of the other lists.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Linked pull requests

Successfully merging a pull request may close this issue.

None yet
3 participants