Doc error in custom_scripts #3016

Closed
opened 2025-12-29 18:24:46 +01:00 by adam · 2 comments
Owner

Originally created by @candlerb on GitHub (Nov 18, 2019).

Change Type

[ ] Addition
[X] Correction
[ ] Deprecation
[ ] Cleanup (formatting, typos, etc.)

Proposed Changes

At this point is says there is a Meta attribute called field_order

But in the example it shows it as fields

One of these must be wrong. By experimentation, the correct attribute is field_order

Originally created by @candlerb on GitHub (Nov 18, 2019). ### Change Type [ ] Addition [X] Correction [ ] Deprecation [ ] Cleanup (formatting, typos, etc.) ### Proposed Changes At [this point](https://netbox.readthedocs.io/en/latest/additional-features/custom-scripts/#script-attributes) is says there is a Meta attribute called `field_order` But in [the example](https://netbox.readthedocs.io/en/latest/additional-features/custom-scripts/#example) it shows it as `fields` One of these must be wrong. By experimentation, the correct attribute is `field_order`
adam added the status: acceptedtype: documentation labels 2025-12-29 18:24:46 +01:00
adam closed this issue 2025-12-29 18:24:46 +01:00
Author
Owner

@hSaria commented on GitHub (Nov 20, 2019):

@candlerb, are you gonna raise a PR for the correction or shall I?

@hSaria commented on GitHub (Nov 20, 2019): @candlerb, are you gonna raise a PR for the correction or shall I?
Author
Owner

@candlerb commented on GitHub (Nov 20, 2019):

Please go ahead.

@candlerb commented on GitHub (Nov 20, 2019): Please go ahead.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/netbox#3016