Fixes: #21535 - Fix filtering of object-type custom fields when "is empty" is selected #14

Closed
opened 2026-04-05 16:21:12 +02:00 by MrUnknownDE · 0 comments
Owner

Originally created by @bctiemann on 4/2/2026

Fixes: #21535

The "is empty" filter option on custom fields pointing to objects was incorrectly passing the string true, which caused a ValueError. This PR fixes that behavior by properly returning a None value that is handled correctly in the filter and in the form validation.

*Originally created by @bctiemann on 4/2/2026* ### Fixes: #21535 The "is empty" filter option on custom fields pointing to objects was incorrectly passing the string `true`, which caused a ValueError. This PR fixes that behavior by properly returning a None value that is handled correctly in the filter and in the form validation.
Sign in to join this conversation.
No Label
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github/netbox#14