mirror of
https://github.com/netbox-community/netbox.git
synced 2025-07-22 20:12:00 -06:00
Fixed rendered config context ordering
This commit is contained in:
parent
743cf6d398
commit
278bacbce8
@ -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
|
||||
|
||||
|
||||
#
|
||||
|
Loading…
Reference in New Issue
Block a user