summaryrefslogtreecommitdiff
path: root/assembly_views
diff options
context:
space:
mode:
authorLester Caine <lester@lsces.co.uk>2026-05-31 12:10:39 +0100
committerLester Caine <lester@lsces.co.uk>2026-05-31 12:10:39 +0100
commit8c97edc1011e46e52ccecd9e7cc5f1bd9fcadc08 (patch)
tree45fe227bc8a430e206706a5c5bf8169cb16bf4d2 /assembly_views
parentcef2bbde0cbaa042a545f432865de11e0bc51d03 (diff)
downloadstock-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 'assembly_views')
-rwxr-xr-xassembly_views/auto_flow/stock_auto_flow_inc.tpl2
-rwxr-xr-xassembly_views/fixed_grid/stock_fixed_grid_inc.tpl2
-rwxr-xr-xassembly_views/fixed_grid/stock_fixed_grid_inc2.tpl2
-rwxr-xr-xassembly_views/fixed_grid/stock_fixed_grid_inc3.tpl2
-rwxr-xr-xassembly_views/simple_list/stock_simple_list_inc.tpl2
5 files changed, 5 insertions, 5 deletions
diff --git a/assembly_views/auto_flow/stock_auto_flow_inc.tpl b/assembly_views/auto_flow/stock_auto_flow_inc.tpl
index 3c0ee1a..6b07fd2 100755
--- a/assembly_views/auto_flow/stock_auto_flow_inc.tpl
+++ b/assembly_views/auto_flow/stock_auto_flow_inc.tpl
@@ -35,7 +35,7 @@
</div><!-- end .body -->
- {pagination assembly_id=$gContent->mAssemblyId}
+ {pagination content_id=$gContent->mContentId}
{include file="bitpackage:liberty/services_inc.tpl" serviceLocation='view' serviceHash=$gContent->mInfo}
diff --git a/assembly_views/fixed_grid/stock_fixed_grid_inc.tpl b/assembly_views/fixed_grid/stock_fixed_grid_inc.tpl
index b4664d8..2e5855b 100755
--- a/assembly_views/fixed_grid/stock_fixed_grid_inc.tpl
+++ b/assembly_views/fixed_grid/stock_fixed_grid_inc.tpl
@@ -35,7 +35,7 @@
{if $itemCount % 4 != 0}</tr>{/if}
</table>
- {pagination assembly_id=$gContent->mAssemblyId}
+ {pagination content_id=$gContent->mContentId}
</div><!-- end .body -->
</div><!-- end .stock -->
{/strip}
diff --git a/assembly_views/fixed_grid/stock_fixed_grid_inc2.tpl b/assembly_views/fixed_grid/stock_fixed_grid_inc2.tpl
index ac914c6..17e6102 100755
--- a/assembly_views/fixed_grid/stock_fixed_grid_inc2.tpl
+++ b/assembly_views/fixed_grid/stock_fixed_grid_inc2.tpl
@@ -6,7 +6,7 @@
<h1>{$gContent->getTitle()|escape}</h1>
</div>
- {pagination assembly_id=$gContent->mAssemblyId}
+ {pagination content_id=$gContent->mContentId}
<div class="body">
{formfeedback success=$stockSuccess error=$stockErrors warning=$stockWarnings}
diff --git a/assembly_views/fixed_grid/stock_fixed_grid_inc3.tpl b/assembly_views/fixed_grid/stock_fixed_grid_inc3.tpl
index bd293b1..2db927b 100755
--- a/assembly_views/fixed_grid/stock_fixed_grid_inc3.tpl
+++ b/assembly_views/fixed_grid/stock_fixed_grid_inc3.tpl
@@ -32,7 +32,7 @@
<div class="clear"></div>
</div><!-- end .body -->
- {pagination assembly_id=$gContent->mAssemblyId}
+ {pagination content_id=$gContent->mContentId}
{include file="bitpackage:liberty/services_inc.tpl" serviceLocation='view' serviceHash=$gContent->mInfo}
diff --git a/assembly_views/simple_list/stock_simple_list_inc.tpl b/assembly_views/simple_list/stock_simple_list_inc.tpl
index fd0a9d5..ed5d240 100755
--- a/assembly_views/simple_list/stock_simple_list_inc.tpl
+++ b/assembly_views/simple_list/stock_simple_list_inc.tpl
@@ -65,7 +65,7 @@
</div><!-- end .body -->
- {pagination assembly_id=$gContent->mAssemblyId}
+ {pagination content_id=$gContent->mContentId}
{include file="bitpackage:liberty/services_inc.tpl" serviceLocation='view' serviceHash=$gContent->mInfo}