mirror of
https://github.com/netbox-community/netbox.git
synced 2025-07-14 09:51:22 -06:00
Fixes #2938: Enforce deterministic ordering of device components returned by API
This commit is contained in:
parent
beff774295
commit
32f63a18ff
@ -4,6 +4,7 @@ v2.5.8 (FUTURE)
|
||||
|
||||
* [#2705](https://github.com/digitalocean/netbox/issues/2705) - Fix endpoint grouping in API docs
|
||||
* [#2923](https://github.com/digitalocean/netbox/issues/2923) - Provider filter form's site field should be blank by default
|
||||
* [#2938](https://github.com/digitalocean/netbox/issues/2938) - Enforce deterministic ordering of device components returned by API
|
||||
|
||||
---
|
||||
|
||||
|
@ -27,7 +27,7 @@ class DeviceComponentManager(Manager):
|
||||
select={
|
||||
'name_padded': sql.format(table_name, table_name),
|
||||
}
|
||||
).order_by('name_padded')
|
||||
).order_by('name_padded', 'pk')
|
||||
|
||||
|
||||
class InterfaceQuerySet(QuerySet):
|
||||
|
Loading…
Reference in New Issue
Block a user