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

Job Results filter only allowing exact date matches #4728

Closed
justinbrink opened this issue Oct 30, 2023 · 0 comments · Fixed by #4731
Closed

Job Results filter only allowing exact date matches #4728

justinbrink opened this issue Oct 30, 2023 · 0 comments · Fixed by #4731
Assignees
Labels
triage This issue is new and has not been reviewed. type: bug Something isn't working as expected

Comments

@justinbrink
Copy link
Contributor

Environment

  • Nautobot version: 1.6, 2.0.3
  • Python version: Any
  • Database platform, version: Any

Steps to Reproduce

  1. Navigate to Job Results
  2. Select Filter
  3. Click Advanced
  4. Select Field Created or Completed
  5. Lookup type is only "exact"

Expected Behavior

Job Results should be filterable by any date matches, including less than, greater than, etc.

Observed Behavior

You can only match the date for Created and Completed by the exact time, down to the nanosecond with TZ offset (ie date_created = "2023-09-21T19:52:33.769869+00:00")

This has already been confirmed to be an issue with the JobResultFilterSet explicitly defining the DateTimeFilter value instead of the default value of MultiValueDateTimeFilter

@justinbrink justinbrink added triage This issue is new and has not been reviewed. type: bug Something isn't working as expected labels Oct 30, 2023
justinbrink added a commit to justinbrink/nautobot that referenced this issue Oct 30, 2023
HanlinMiao added a commit that referenced this issue Oct 31, 2023
* Closes #4728: JobResult filter exact date matches

* Added changelog fragment

---------

Co-authored-by: Hanlin Miao <46973263+HanlinMiao@users.noreply.github.com>
justinbrink added a commit to justinbrink/nautobot that referenced this issue Oct 31, 2023
@github-actions github-actions bot locked as resolved and limited conversation to collaborators Jan 30, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
triage This issue is new and has not been reviewed. type: bug Something isn't working as expected
Projects
No open projects
Status: Done
Development

Successfully merging a pull request may close this issue.

1 participant