mirror of
https://github.com/netbox-community/netbox.git
synced 2024-05-10 07:54:54 +00:00
Fixed rendered config context ordering
This commit is contained in:
@@ -703,11 +703,11 @@ class ConfigContextModel(models.Model):
|
||||
"""
|
||||
|
||||
# Compile all config data, overwriting lower-weight values with higher-weight values where a collision occurs
|
||||
data = {}
|
||||
data = OrderedDict()
|
||||
for context in ConfigContext.objects.get_for_object(self):
|
||||
data.update(context.data)
|
||||
|
||||
return sorted(data)
|
||||
return data
|
||||
|
||||
|
||||
#
|
||||
|
Reference in New Issue
Block a user