-
Notifications
You must be signed in to change notification settings - Fork 263
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
Incorrect GraphQL tooltip when filtering cables by site #365
Labels
type: bug
Something isn't working as expected
Comments
So we did a little digging and it turns out that for any filterset field that is a method field (such as Fortunately it appears there aren't a huge amount of them:
|
jathanism
added a commit
to jathanism/nautobot
that referenced
this issue
Apr 26, 2021
jathanism
added a commit
that referenced
this issue
Apr 28, 2021
- Add tests for GraphQL Interface filters - Also added missing unit tests for `InterfaceFilterSet` in `nautobot.dcim.tests.test_filters` - Adds/adjusts labels on all filter fields with "method" arguments - Changes all filter types for "id" fields that were `MultiValueNumberFilter ` to `MultiValueCharFilter ` - Fix #365 - Add/adjust labels on all filter fields with "method" arguments
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Environment
This bug was introduced with the fix from PR #360. When querying for cables and filtering by site, the tooltip should say something like:
However the tooltip actually says
Steps to Reproduce
develop
branch, open GraphQL in the UIExpected Behavior
The tooltip for "site" should state that the slug is needed
Observed Behavior
The tooltip for "site" shows an "invalid name"
![Screen Shot 2021-04-22 at 5 25 08 PM](https://user-images.githubusercontent.com/536467/115788367-83197080-a391-11eb-9695-62ffe8945008.png)
The text was updated successfully, but these errors were encountered: