-
Notifications
You must be signed in to change notification settings - Fork 2.9k
Closed
Labels
status: acceptedThis issue has been accepted for implementationThis issue has been accepted for implementationtype: bugA confirmed report of unexpected behavior in the applicationA confirmed report of unexpected behavior in the application
Description
Environment
- Python version: 3.7.9
- NetBox version: 2.10.4
Steps to Reproduce
- Create Custom Field (tried text, boolean, integer so far) - Apply field on rack-reservations.
- Create rack-reservation and fill in created custom-field.
- Use "?cf_customfieldname=value" REST API filter to filter rack-reservations
- Example:
- https://netbox.net/api/dcim/rack-reservations/?cf_service_id=123456 <-- Displays all rack-reservations, including those with other cf "service_id" than "123456"
- https://netbox.net/api/dcim/devices/?cf_service_id=123456 <-- Works correctly and displays only devices with cf "service_id" set to "123456"
Expected Behavior
Only rack-reservations matching custom-field rest api filter should be matched and displayed.
Observed Behavior
All rack-reservations are displayed with the rest api filter applied. Including those not matching the filter.
Metadata
Metadata
Assignees
Labels
status: acceptedThis issue has been accepted for implementationThis issue has been accepted for implementationtype: bugA confirmed report of unexpected behavior in the applicationA confirmed report of unexpected behavior in the application