From 281934cf3445eb343abd7bab18eccacb292525e8 Mon Sep 17 00:00:00 2001 From: jeremystretch Date: Wed, 30 Nov 2022 15:37:50 -0500 Subject: [PATCH] Fixes #11047: Cloning a rack reservation should replicate rack & user --- docs/release-notes/version-3.3.md | 3 +++ netbox/dcim/models/racks.py | 2 ++ 2 files changed, 5 insertions(+) diff --git a/docs/release-notes/version-3.3.md b/docs/release-notes/version-3.3.md index ffb3b9ffe..069926022 100644 --- a/docs/release-notes/version-3.3.md +++ b/docs/release-notes/version-3.3.md @@ -21,6 +21,9 @@ * [#10969](https://github.com/netbox-community/netbox/issues/10969) - Update cable paths ending at associated rear port when creating new front ports * [#10996](https://github.com/netbox-community/netbox/issues/10996) - Hide checkboxes on child object lists when no bulk operations are available * [#10997](https://github.com/netbox-community/netbox/issues/10997) - Fix exception when editing NAT IP for VM with no cluster +* [#11014](https://github.com/netbox-community/netbox/issues/11014) - Use natural ordering when sorting rack elevations by name +* [#11028](https://github.com/netbox-community/netbox/issues/11028) - Enable bulk clearing of color attribute of pass-through ports +* [#11047](https://github.com/netbox-community/netbox/issues/11047) - Cloning a rack reservation should replicate rack & user --- diff --git a/netbox/dcim/models/racks.py b/netbox/dcim/models/racks.py index 20027675a..df4702501 100644 --- a/netbox/dcim/models/racks.py +++ b/netbox/dcim/models/racks.py @@ -477,6 +477,8 @@ class RackReservation(NetBoxModel): max_length=200 ) + clone_fields = ('rack', 'user', 'tenant') + class Meta: ordering = ['created', 'pk']