Skip to content
This repository has been archived by the owner on Jul 9, 2020. It is now read-only.

[idea] filter configurations by relationship with a specific template #47

Closed
cappe87 opened this issue Mar 29, 2017 · 3 comments
Closed

Comments

@cappe87
Copy link
Member

cappe87 commented Mar 29, 2017

it may be useful to have a way to filter configurations that have a relationship with a specific template

@nemesifier
Copy link
Member

@cappe87 adding the filter is easier than I thought. It's just a matter of adding templatesin list_filters of AbstractConfigAdmin:
https://github.com/openwisp/django-netjsonconfig/blob/master/django_netjsonconfig/base/admin.py#L214

The hard part is in openwisp-controller: the filter should display only templates of organizations that the current user has access to (only superusers see everything).

@nemesifier
Copy link
Member

I created an issue also on openwisp/openwisp-controller#2.

@nemesifier
Copy link
Member

Closed by 90d4e99

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

2 participants