Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Can't filter objects with missing date field values #1720

Closed
nniehoff opened this issue May 2, 2022 · 2 comments · Fixed by #2714
Closed

Can't filter objects with missing date field values #1720

nniehoff opened this issue May 2, 2022 · 2 comments · Fixed by #2714
Assignees
Labels
type: bug Something isn't working as expected

Comments

@nniehoff
Copy link
Contributor

nniehoff commented May 2, 2022

Environment
Python version: Any
Nautobot version: 1.3.2
Any objects with date fields can't be filtered to search those with missing values.

This is related to #795. While most fields you can now search with "null" to find objects with missing values if the field is a date field the UI will not let you enter "null" and if you change the URL to include ?cf_date_field=null the filter is not applied. The easiest way to reproduce this is with a custom date field which is allowed to be null.

Expected Behavior

Only objects with missing (empty) value in a given date (custom or otherwise) fields should have been returned.

Observed Behavior

All objects were returned regardless of the date field.

@bryanculver bryanculver added type: bug Something isn't working as expected workflow: under review labels May 2, 2022
@HanlinMiao HanlinMiao self-assigned this Jun 9, 2022
@jathanism
Copy link
Contributor

Related to #1905

@gsnider2195
Copy link
Contributor

May be solved by #2126

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Feb 3, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
type: bug Something isn't working as expected
Projects
No open projects
Archived in project
5 participants