Add Max Depth and Max Length dropdowns for child prefix pages #557

Closed
opened 2026-04-05 16:43:23 +02:00 by MrUnknownDE · 0 comments
Owner

Originally created by @matthew-242 on 1/15/2026

Fixes: #21088

This adds the max_length and max_depth drop down filters to the child "prefix" pages for both aggregates and prefixes. It achieves this by creating 2 new templates which can be then be included wherever this functionality is required. This PR also standardises the existing prefix_list template to include these new templates.

*Originally created by @matthew-242 on 1/15/2026* <!-- Thank you for your interest in contributing to NetBox! Please note that our contribution policy requires that a feature request or bug report be approved and assigned prior to opening a pull request. This helps avoid waste time and effort on a proposed change that we might not be able to accept. IF YOUR PULL REQUEST DOES NOT REFERENCE AN ISSUE WHICH HAS BEEN ASSIGNED TO YOU, IT WILL BE CLOSED AUTOMATICALLY. Please specify your assigned issue number on the line below. --> ### Fixes: #21088 <!-- Please include a summary of the proposed changes below. --> This adds the max_length and max_depth drop down filters to the child "prefix" pages for both aggregates and prefixes. It achieves this by creating 2 new templates which can be then be included wherever this functionality is required. This PR also standardises the existing prefix_list template to include these new templates.
Sign in to join this conversation.
No Label
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github/netbox#557