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

Use stock manager as default for Tag model

This commit is contained in:
Jeremy Stretch
2020-07-07 12:18:14 -04:00
parent 15f5719f44
commit a2d957ba0d
6 changed files with 12 additions and 14 deletions

View File

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