From b955751349383dbd0b36f4308de8e78466f8f2d6 Mon Sep 17 00:00:00 2001 From: Jeremy Stretch Date: Wed, 27 Dec 2023 13:42:26 -0500 Subject: [PATCH] Fixes #14517: Ensure reservations tab is always displayed under rack view --- docs/release-notes/version-3.6.md | 1 + netbox/dcim/views.py | 3 +-- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/release-notes/version-3.6.md b/docs/release-notes/version-3.6.md index 44478b899..5b666fa86 100644 --- a/docs/release-notes/version-3.6.md +++ b/docs/release-notes/version-3.6.md @@ -9,6 +9,7 @@ ### Bug Fixes +* [#14517](https://github.com/netbox-community/netbox/issues/14517) - Ensure reservations tab is always displayed under rack view * [#14549](https://github.com/netbox-community/netbox/issues/14549) - Fix association of job results when executing scripts via `runscript` management command * [#14560](https://github.com/netbox-community/netbox/issues/14560) - Do not escape exclamation marks in custom link URLs * [#14575](https://github.com/netbox-community/netbox/issues/14575) - Fix display of the tags column under VDC table diff --git a/netbox/dcim/views.py b/netbox/dcim/views.py index c67dfaade..6d549c49d 100644 --- a/netbox/dcim/views.py +++ b/netbox/dcim/views.py @@ -695,8 +695,7 @@ class RackRackReservationsView(generic.ObjectChildrenView): label=_('Reservations'), badge=lambda obj: obj.reservations.count(), permission='dcim.view_rackreservation', - weight=510, - hide_if_empty=True + weight=510 ) def get_children(self, request, parent):