1
0
mirror of https://github.com/netbox-community/netbox.git synced 2024-05-10 07:54:54 +00:00

Fix unrestricted queries for Tags

This commit is contained in:
Jeremy Stretch
2020-07-02 16:25:13 -04:00
parent e635dc1fb3
commit 1ed152cd49
4 changed files with 4 additions and 4 deletions

View File

@@ -215,7 +215,7 @@ def prepare_cloned_fields(instance):
# Copy tags
if is_taggable(instance):
params['tags'] = ','.join([t.name for t in instance.tags.all()])
params['tags'] = ','.join([t.name for t in instance.tags.all().unrestricted()])
# Concatenate parameters into a URL query string
param_string = '&'.join(