summaryrefslogtreecommitdiff
path: root/admin
diff options
context:
space:
mode:
authorLester Caine <lester@lsces.co.uk>2026-06-10 09:16:33 +0100
committerLester Caine <lester@lsces.co.uk>2026-06-10 09:16:33 +0100
commit8566070da24cd53845c64cdf2cd2104c847e450c (patch)
tree8348a496fe32a74713fad9f3850c40d90be7d6a4 /admin
parent0582e0b40f3440e8ec4c95c99501019e6933e20b (diff)
downloadstock-8566070da24cd53845c64cdf2cd2104c847e450c.tar.gz
stock-8566070da24cd53845c64cdf2cd2104c847e450c.tar.bz2
stock-8566070da24cd53845c64cdf2cd2104c847e450c.zip
stock: add kitlocker gallery — view_kitlocker.php, stock_fixed_grid_inc.tpl, view_xref_kitlocker_group.tpl; stgrp getList filter; stgrp template field set to kitlocker
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Diffstat (limited to 'admin')
-rwxr-xr-xadmin/schema_inc.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/admin/schema_inc.php b/admin/schema_inc.php
index edf8463..d43bb76 100755
--- a/admin/schema_inc.php
+++ b/admin/schema_inc.php
@@ -88,7 +88,7 @@ $xrefItems = [];
// ── 'stock' package-level groups — shared across stockassembly and stockcomponent ──
// sort_order=1: stgrp (group tags, multi-valued KLGnn items)
// sort_order=3: supplier (replaces per-type duplicates)
-$xrefTypes[] = "INSERT INTO `{$X}liberty_xref_group` (`x_group`,`content_type_guid`,`title`,`sort_order`,`role_id`,`type_href`,`template`) VALUES ('stgrp', 'stock','Stock Groups', 1,3,'','')";
+$xrefTypes[] = "INSERT INTO `{$X}liberty_xref_group` (`x_group`,`content_type_guid`,`title`,`sort_order`,`role_id`,`type_href`,`template`) VALUES ('stgrp', 'stock','Stock Groups', 1,3,'','kitlocker')";
$xrefTypes[] = "INSERT INTO `{$X}liberty_xref_group` (`x_group`,`content_type_guid`,`title`,`sort_order`,`role_id`,`type_href`,`template`) VALUES ('supplier', 'stock','Supplier', 3,3,'','sup')";
// KLG01–KLG28 — Kitlocker group tags (multiple=0 per item; multiple items per record = multi-group tagging)