summaryrefslogtreecommitdiff
path: root/admin
diff options
context:
space:
mode:
authorLester Caine <lester@lsces.co.uk>2026-06-11 10:42:10 +0100
committerLester Caine <lester@lsces.co.uk>2026-06-11 10:42:10 +0100
commit51195f3ae4cbc9ce3ae6f6054e75a72fdf0a5e32 (patch)
treee0004f02fc8a910a9f00cc0f6e182e0e1d14d325 /admin
parent77995206ac8bdbd8129d1daabb02cba599250795 (diff)
downloadstock-51195f3ae4cbc9ce3ae6f6054e75a72fdf0a5e32.tar.gz
stock-51195f3ae4cbc9ce3ae6f6054e75a72fdf0a5e32.tar.bz2
stock-51195f3ae4cbc9ce3ae6f6054e75a72fdf0a5e32.zip
stock: merge stgrp xrefs into kitlocker group at data level; revert stgrp template tag; drop sgGroup stash from component templates
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 d43bb76..edf8463 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,'','kitlocker')";
+$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 ('supplier', 'stock','Supplier', 3,3,'','sup')";
// KLG01–KLG28 — Kitlocker group tags (multiple=0 per item; multiple items per record = multi-group tagging)