-
Notifications
You must be signed in to change notification settings - Fork 2.6k
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
Remove all id__in filters #4313
Labels
status: accepted
This issue has been accepted for implementation
type: deprecation
Removal of existing functionality or behavior
Milestone
Comments
jeremystretch
added
API change
status: under review
Further discussion is needed to determine this issue's scope and/or implementation
type: deprecation
Removal of existing functionality or behavior
labels
Mar 4, 2020
jeremystretch
added
status: accepted
This issue has been accepted for implementation
and removed
status: under review
Further discussion is needed to determine this issue's scope and/or implementation
labels
Mar 4, 2020
jeremystretch
added a commit
that referenced
this issue
Mar 6, 2020
Merged
DouglasHeriot
added a commit
to hillsong/ansible_modules
that referenced
this issue
May 4, 2020
netbox-community/netbox#4313 removed id__in as you can acheive the same by listing id multiple times.
DouglasHeriot
added a commit
to hillsong/ansible_modules
that referenced
this issue
May 4, 2020
netbox-community/netbox#4313 removed id__in as you can acheive the same by listing id multiple times.
DouglasHeriot
added a commit
to hillsong/ansible_modules
that referenced
this issue
May 5, 2020
netbox-community/netbox#4313 removed id__in as you can acheive the same by listing id multiple times.
Hey @jeremystretch ! I wonder, this seem to have removed the only way of batch fetching multiple ipam resources? |
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Labels
status: accepted
This issue has been accepted for implementation
type: deprecation
Removal of existing functionality or behavior
Proposed Changes
Many models within NetBox have a filter named
id__in
which enables filtering by comma-separated object IDs, e.g.?id__in=1,2,3
. This was introduced in #987 to accommodate form widget filtering logic that is no longer used in NetBox. This issue proposes to remove all instance ofid__in
filters as well as the NumericInFilter class (which has no other uses).Justification
This method of filtering is no longer needed, and the same result can be achieved using the more standard approach of passing the
id
parameter multiple times:?id=1&id=2&id=3
The text was updated successfully, but these errors were encountered: