Fixes #21262: Fix scope inheritance when creating child prefixes #459

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

Originally created by @pheus on 1/27/2026

Fixes: #21262

This PR fixes an issue where the "Add Prefix" button in the Child Prefixes view was still generating a legacy site query parameter, which caused the prefix creation form to open with blank Scope Type / Scope.

Summary of changes

  • Update the "Add Prefix" button URL to pass scope_type and scope instead of the deprecated site parameter

Thanks again for your time and for reviewing!

*Originally created by @pheus on 1/27/2026* ### Fixes: #21262 This PR fixes an issue where the **"Add Prefix"** button in the **Child Prefixes** view was still generating a legacy `site` query parameter, which caused the prefix creation form to open with **blank Scope Type / Scope**. #### Summary of changes - Update the "Add Prefix" button URL to pass `scope_type` and `scope` instead of the deprecated `site` parameter Thanks again for your time and for reviewing!
Sign in to join this conversation.
No Label
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github/netbox#459