Fixes #21825: Fix sorting for multiple incorrectly configured table columns #17

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

Originally created by @pheus on 4/2/2026

Fixes: #21825

This PR fixes several broken sortable columns caused by incorrect accessors, invalid field references, and columns being marked sortable when sorting is not actually supported.

It updates the affected table definitions by correcting accessor paths and field names, removing the deprecated name field from VLANTranslationRule, and marking computed or template-only columns as non-orderable where needed.

Related test coverage is being handled as part of #21766, so this PR focuses on the fixes themselves.

*Originally created by @pheus on 4/2/2026* ### Fixes: #21825 This PR fixes several broken sortable columns caused by incorrect accessors, invalid field references, and columns being marked sortable when sorting is not actually supported. It updates the affected table definitions by correcting accessor paths and field names, removing the deprecated `name` field from `VLANTranslationRule`, and marking computed or template-only columns as non-orderable where needed. Related test coverage is being handled as part of #21766, so this PR focuses on the fixes themselves.
Sign in to join this conversation.
No Label
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github/netbox#17