ansible-community / ara

ARA Records Ansible and makes it easier to understand and troubleshoot.
https://ara.recordsansible.org
GNU General Public License v3.0
1.88k stars 174 forks source link

ARA - multi-label search #165

Open stefan-marc opened 4 years ago

stefan-marc commented 4 years ago

What is the idea ?

Hi! It would be great if we could have multi-label search on the main page of ARA, rather than one.

Given the labels: User=test_user, Server=host1, virtualenv=pipvirtualenv, repo=repox, version=v0.3.2

Search playbooks based on: User=test_user,repo=repox

Let me know what you think.

Thanks!

dmsimard commented 4 years ago

Hey @smarcu92,

I think it would be nice to have as well but it isn't yet supported from an API standpoint yet and so that's why it isn't implemented in the UI.

There's an example quite like what we'd need to do on StackOverflow: https://stackoverflow.com/questions/39368410/django-rest-framework-manytomany-filter-multiple-values/39368843

It's a little bit tricky to implement and so instead of nothing at all I went for something simple to begin with.

Would appreciate help on this or I can look at it eventually.