summaryrefslogtreecommitdiff
path: root/sitemap.php
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 /sitemap.php
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 'sitemap.php')
-rw-r--r--sitemap.php2
1 files changed, 1 insertions, 1 deletions
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',