Sort of aggregates by prefixes breaks RIR section #6366

Closed
opened 2025-12-29 19:39:53 +01:00 by adam · 0 comments
Owner

Originally created by @avb1987 on GitHub (Apr 16, 2022).

Originally assigned to: @jeremystretch on GitHub.

NetBox version

v3.2.1

Python version

3.8

Steps to Reproduce

  1. Go to "IPAM -> Aggregates", click on "Prefixes" column header in the aggregates table in order to sort aggregates by child prefix count.
  2. Go to "IPAM -> RIRs", click on any RIR name to open its details.

Expected Behavior

RIR details should be displayed

Observed Behavior

Server error is displayed

`<class 'django.core.exceptions.FieldError'>

Cannot resolve keyword 'child_count' into field. Choices are: created, custom_field_data, date_added, description, id, journal_entries, last_updated, prefix, rir, rir_id, tagged_items, tags, tenant, tenant_id

Python version: 3.8.10
NetBox version: 3.2.1
Screenshot 2022-04-16 at 10 42 02
`

Originally created by @avb1987 on GitHub (Apr 16, 2022). Originally assigned to: @jeremystretch on GitHub. ### NetBox version v3.2.1 ### Python version 3.8 ### Steps to Reproduce 1. Go to "IPAM -> Aggregates", click on "Prefixes" column header in the aggregates table in order to sort aggregates by child prefix count. 2. Go to "IPAM -> RIRs", click on any RIR name to open its details. ### Expected Behavior RIR details should be displayed ### Observed Behavior Server error is displayed `<class 'django.core.exceptions.FieldError'> Cannot resolve keyword 'child_count' into field. Choices are: created, custom_field_data, date_added, description, id, journal_entries, last_updated, prefix, rir, rir_id, tagged_items, tags, tenant, tenant_id Python version: 3.8.10 NetBox version: 3.2.1 <img width="752" alt="Screenshot 2022-04-16 at 10 42 02" src="https://user-images.githubusercontent.com/6346751/163681525-3dd8e076-8c50-45b1-8e1c-865b6b98182a.png"> `
adam added the type: bugstatus: accepted labels 2025-12-29 19:39:53 +01:00
adam closed this issue 2025-12-29 19:39:54 +01:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/netbox#6366