diff options
| author | Lester Caine <lester@lsces.co.uk> | 2026-05-26 16:20:23 +0100 |
|---|---|---|
| committer | Lester Caine <lester@lsces.co.uk> | 2026-05-26 16:20:23 +0100 |
| commit | abc85fed002f33b246a57f948a857d6c68f57e45 (patch) | |
| tree | dc21ed5194b2f98f75b81623a5e9fa7f1c60ffc2 /list_assemblies.php | |
| parent | fe6266e6922dbfe1a16c6f487518f0e890279cb5 (diff) | |
| download | stock-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-x | list_assemblies.php | 3 |
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 ) { |
