From e8a5fa32ce1709726c04e6f150f80b2a88bf0f38 Mon Sep 17 00:00:00 2001 From: Peter Eckel Date: Sun, 11 Aug 2024 12:51:20 +0000 Subject: [PATCH] Limit the fix to custom field data --- netbox/utilities/querydict.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/netbox/utilities/querydict.py b/netbox/utilities/querydict.py index dbe2e42818..b1cb524f6a 100644 --- a/netbox/utilities/querydict.py +++ b/netbox/utilities/querydict.py @@ -55,7 +55,7 @@ def prepare_cloned_fields(instance): for key, value in attrs.items(): if type(value) in (list, tuple): params.extend([(key, v) for v in value]) - elif value is not None: + elif value is not None and (key.startswith('cf_') or value is not False): params.append((key, value)) else: params.append((key, ''))