diff options
| author | Lester Caine <lester@lsces.co.uk> | 2026-05-31 12:10:39 +0100 |
|---|---|---|
| committer | Lester Caine <lester@lsces.co.uk> | 2026-05-31 12:10:39 +0100 |
| commit | 8c97edc1011e46e52ccecd9e7cc5f1bd9fcadc08 (patch) | |
| tree | 45fe227bc8a430e206706a5c5bf8169cb16bf4d2 /templates/assembly_nav.tpl | |
| parent | cef2bbde0cbaa042a545f432865de11e0bc51d03 (diff) | |
| download | stock-8c97edc1011e46e52ccecd9e7cc5f1bd9fcadc08.tar.gz stock-8c97edc1011e46e52ccecd9e7cc5f1bd9fcadc08.tar.bz2 stock-8c97edc1011e46e52ccecd9e7cc5f1bd9fcadc08.zip | |
Remove assembly_id/component_id: use content_id throughout
All stock classes, templates, imports, and controllers now reference
content_id directly. StockRemote deleted (unused). StockBase: dead
methods (isMachineName, updatePosition, isEditable) removed; hash_key
aliases dropped. getList() keyed by content_id, fixing missing
content_id in row data.
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Diffstat (limited to 'templates/assembly_nav.tpl')
| -rwxr-xr-x | templates/assembly_nav.tpl | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/templates/assembly_nav.tpl b/templates/assembly_nav.tpl index e81015f..7817ceb 100755 --- a/templates/assembly_nav.tpl +++ b/templates/assembly_nav.tpl @@ -9,8 +9,8 @@ {/if} {if $breadCrumbs} {foreach from=$breadCrumbs item=breadTitle key=breadId} - {if $breadId==$gContent->mAssemblyId}<li class="active">{$breadTitle}</li> - {else}<li><a href="{$smarty.const.STOCK_PKG_URL}view.php?assembly_id={$breadId}">{$breadTitle}</a></li>{/if} + {if $breadId==$gContent->mContentId}<li class="active">{$breadTitle}</li> + {else}<li><a href="{$smarty.const.STOCK_PKG_URL}view.php?content_id={$breadId}">{$breadTitle}</a></li>{/if} {/foreach} {/if} </ol> |
