diff options
| author | Lester Caine <lester@lsces.co.uk> | 2026-05-21 19:40:04 +0100 |
|---|---|---|
| committer | Lester Caine <lester@lsces.co.uk> | 2026-05-21 19:40:04 +0100 |
| commit | 8439f9a17d01d58057ef65e439bdd3fb6475f69f (patch) | |
| tree | c6afc0952a043c79ad5afbab372b78c9726887ce /templates | |
| parent | 856ead0e4bc25be5dc6c770fc8da8aade2d83e12 (diff) | |
| download | stock-8439f9a17d01d58057ef65e439bdd3fb6475f69f.tar.gz stock-8439f9a17d01d58057ef65e439bdd3fb6475f69f.tar.bz2 stock-8439f9a17d01d58057ef65e439bdd3fb6475f69f.zip | |
Rename gallery→assembly, image→component throughout class SQL and PHP
Table names: stock_gallery→stock_assembly, stock_image→stock_component,
stock_gallery_image_map→stock_assembly_component_map. Column names:
gallery_id→assembly_id, image_id→component_id, gallery_content_id→assembly_content_id.
Properties: mGalleryId→mAssemblyId, mImageId→mComponentId, mGalleryPath→mAssemblyPath.
Methods: loadImages→loadComponents, loadCurrentImage→loadCurrentComponent,
getImageCount→getComponentCount, getParentGalleries→getParentAssemblies, etc.
Sequences corrected to stock_assembly_id_seq / stock_component_id_seq.
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Diffstat (limited to 'templates')
| -rwxr-xr-x | templates/center_list_galleries.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/templates/center_list_galleries.php b/templates/center_list_galleries.php index 11a3782..b29719d 100755 --- a/templates/center_list_galleries.php +++ b/templates/center_list_galleries.php @@ -12,8 +12,8 @@ $gStockAssembly = new StockAssembly(); $listHash['root_only'] = true; $listHash['get_thumbnails'] = true; /* Not supported in StockAssembly::getList -if( !empty( $module_params['gallery_id'] ) && is_numeric( $module_params['gallery_id'] ) ) { - $listHash['gallery_id'] = $module_params['gallery_id']; +if( !empty( $module_params['assembly_id'] ) && is_numeric( $module_params['assembly_id'] ) ) { + $listHash['assembly_id'] = $module_params['assembly_id']; }*/ if ($gQueryUserId) { $listHash['user_id'] = $gQueryUserId; |
