From 8c97edc1011e46e52ccecd9e7cc5f1bd9fcadc08 Mon Sep 17 00:00:00 2001 From: Lester Caine Date: Sun, 31 May 2026 12:10:39 +0100 Subject: 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 --- sitemap.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'sitemap.php') diff --git a/sitemap.php b/sitemap.php index 6247def..74f2c47 100644 --- a/sitemap.php +++ b/sitemap.php @@ -18,7 +18,7 @@ if( $galleries = $gallery->getList( $listHash ) ) { foreach( $galleries as $row ) { $url = StockAssembly::getDisplayUrlFromHash( $row ); if( empty( $url ) ) continue; - $gSiteMapHash['g'.$row['assembly_id']] = [ + $gSiteMapHash['g'.$row['content_id']] = [ 'loc' => BIT_BASE_URI . $url, 'lastmod' => date( 'Y-m-d', $row['last_modified'] ), 'changefreq' => 'monthly', -- cgit v1.3