From 91c9319147ab0f9526853e12914c40a057d37df8 Mon Sep 17 00:00:00 2001 From: Takeus <68923554+TakeusV1@users.noreply.github.com> Date: Thu, 27 Feb 2025 10:16:09 +0100 Subject: [PATCH] V1.2.1 --- app/routes/r_networks.py | 2 +- app/templates/panel/allocations.html | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/app/routes/r_networks.py b/app/routes/r_networks.py index 98cb0ed..46f7056 100644 --- a/app/routes/r_networks.py +++ b/app/routes/r_networks.py @@ -251,7 +251,7 @@ def allocation_search(net_id): ## DECOM if 'used' in search: for alloc in db_alloc: - if alloc.is_used: + if alloc.is_used and alloc.is_dhcp == False: obj_list.append(alloc) else: diff --git a/app/templates/panel/allocations.html b/app/templates/panel/allocations.html index ad52870..b7fb664 100644 --- a/app/templates/panel/allocations.html +++ b/app/templates/panel/allocations.html @@ -8,7 +8,7 @@