summaryrefslogtreecommitdiff
path: root/list_assemblies.php
diff options
context:
space:
mode:
authorLester Caine <lester@lsces.co.uk>2026-05-26 16:20:23 +0100
committerLester Caine <lester@lsces.co.uk>2026-05-26 16:20:23 +0100
commitabc85fed002f33b246a57f948a857d6c68f57e45 (patch)
treedc21ed5194b2f98f75b81623a5e9fa7f1c60ffc2 /list_assemblies.php
parentfe6266e6922dbfe1a16c6f487518f0e890279cb5 (diff)
downloadstock-abc85fed002f33b246a57f948a857d6c68f57e45.tar.gz
stock-abc85fed002f33b246a57f948a857d6c68f57e45.tar.bz2
stock-abc85fed002f33b246a57f948a857d6c68f57e45.zip
Fix assembly description storage and empty-assembly listing
Use format_guid=bithtml so bithtml_verify_data moves edit into content_store[data]; plain has no verify_function so edit was dropped. Set show_empty=true in list_assemblies so assemblies with only xref data (no BOM) are not filtered from the list. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Diffstat (limited to 'list_assemblies.php')
-rwxr-xr-xlist_assemblies.php3
1 files changed, 2 insertions, 1 deletions
diff --git a/list_assemblies.php b/list_assemblies.php
index 14a3d6d..b8e1966 100755
--- a/list_assemblies.php
+++ b/list_assemblies.php
@@ -12,7 +12,8 @@ global $gBitSystem, $gBitSmarty, $gStockAssembly;
$gStockAssembly = new StockAssembly();
-$_REQUEST['root_only'] = true;
+$_REQUEST['root_only'] = true;
+$_REQUEST['show_empty'] = true;
if (!empty($_REQUEST['user_id']) && is_numeric($_REQUEST['user_id'])) {
if( $_REQUEST['user_id'] == $gBitUser->mUserId ) {