diff options
| author | Lester Caine <lester@lsces.co.uk> | 2026-06-07 17:43:28 +0100 |
|---|---|---|
| committer | Lester Caine <lester@lsces.co.uk> | 2026-06-07 17:43:28 +0100 |
| commit | b580057fda44dc3f57bc39e612af9461c3ebca5a (patch) | |
| tree | d4d7d2494b59fbae152708bc0cb78c6f6569939e /templates/stockcomponent/edit_xref_pck_item.tpl | |
| parent | 9f5cb5855df61554e38a6da5d036bd78d421a2a9 (diff) | |
| download | stock-b580057fda44dc3f57bc39e612af9461c3ebca5a.tar.gz stock-b580057fda44dc3f57bc39e612af9461c3ebca5a.tar.bz2 stock-b580057fda44dc3f57bc39e612af9461c3ebca5a.zip | |
Fix xorder lost on xref edit; widen component_order Order column
All edit_xref templates were missing a hidden xorder field, causing
LibertyXref::verify() to default it to 0 on every save. Added the
hidden field to all four stock edit_xref templates (bom, bompck,
pck, sup).
component_order.tpl: Order column widened to 7em so 4-digit xorder
values are not clipped.
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Diffstat (limited to 'templates/stockcomponent/edit_xref_pck_item.tpl')
| -rw-r--r-- | templates/stockcomponent/edit_xref_pck_item.tpl | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/templates/stockcomponent/edit_xref_pck_item.tpl b/templates/stockcomponent/edit_xref_pck_item.tpl index 2f0ba7e..29d10ff 100644 --- a/templates/stockcomponent/edit_xref_pck_item.tpl +++ b/templates/stockcomponent/edit_xref_pck_item.tpl @@ -9,6 +9,7 @@ <input type="hidden" name="content_id" value="{$xrefInfo.content_id|escape}" /> <input type="hidden" name="xref_id" value="{$xrefInfo.xref_id|escape}" /> <input type="hidden" name="item" value="{$xrefInfo.item|escape}" /> + <input type="hidden" name="xorder" value="{$xrefInfo.xorder|escape}" /> <div class="form-group"> {formlabel label="Pack Size" for="xkey"} |
