<feed xmlns='http://www.w3.org/2005/Atom'>
<title>stock/list_assemblies.php, branch master</title>
<subtitle>Bitweaver stock package repository
</subtitle>
<id>https://git.rdm1.uk/stock/.git/atom?h=master</id>
<link rel='self' href='https://git.rdm1.uk/stock/.git/atom?h=master'/>
<link rel='alternate' type='text/html' href='https://git.rdm1.uk/stock/.git/'/>
<updated>2026-06-21T09:10:17Z</updated>
<entry>
<title>Persist filter params through smartlink sort clicks on list pages</title>
<updated>2026-06-21T09:10:17Z</updated>
<author>
<name>Lester Caine</name>
<email>lester@lsces.co.uk</email>
</author>
<published>2026-06-21T09:10:17Z</published>
<link rel='alternate' type='text/html' href='https://git.rdm1.uk/stock/.git/commit/?id=d494e495715e1dca056a05442e83dfb16a0c0354'/>
<id>urn:sha1:d494e495715e1dca056a05442e83dfb16a0c0354</id>
<content type='text'>
Populate listInfo['parameters'] on list_movements, list_assemblies, and
list_components so icontrol carries part_content_id/ref_type/user_id/
gallery_id/hide_kitlocker through sort URLs. Wire icontrol=$listInfo on
list_movements.tpl sort headers which were previously missing it.

Co-Authored-By: Claude Sonnet 4.6 &lt;noreply@anthropic.com&gt;
</content>
</entry>
<entry>
<title>Add parsed_data, counts and kitlocker data to StockAssembly::getList()</title>
<updated>2026-06-14T15:07:55Z</updated>
<author>
<name>Lester Caine</name>
<email>lester@lsces.co.uk</email>
</author>
<published>2026-06-14T15:07:55Z</published>
<link rel='alternate' type='text/html' href='https://git.rdm1.uk/stock/.git/commit/?id=7d6e3a14327c738ed70b9e167a1859c0438d8bfe'/>
<id>urn:sha1:7d6e3a14327c738ed70b9e167a1859c0438d8bfe</id>
<content type='text'>
- getList() now provides per-row: parsed_data (via parseDataHash),
  part_number (#SUP first), klid, component_count (BOM lines),
  prebuild_count (PBLD kit total for assembly owner) as correlated
  subqueries — removes need for supplementary queries in callers
- list_assemblies.php: remove batch query block now redundant
- user_galleries.tpl: show parsed_data in .content div; dl counts
  moved to panel-footer with margin-bottom:0; klid in panel-title
  second line; panel-heading tidied to title only

Co-Authored-By: Claude Sonnet 4.6 &lt;noreply@anthropic.com&gt;
</content>
</entry>
<entry>
<title>Tidy assembly list templates; suppress sortby in kitelf grid view</title>
<updated>2026-06-14T11:05:43Z</updated>
<author>
<name>Lester Caine</name>
<email>lester@lsces.co.uk</email>
</author>
<published>2026-06-14T11:05:43Z</published>
<link rel='alternate' type='text/html' href='https://git.rdm1.uk/stock/.git/commit/?id=96448ac56a810b38555465087696ea7a1c7d7305'/>
<id>urn:sha1:96448ac56a810b38555465087696ea7a1c7d7305</id>
<content type='text'>
- user_galleries.tpl: inline list_assemblies2 grid code directly; hide
  sortby bar when viewing by user_id (kitelf) since sorting is irrelevant
- list_assemblies_simple.tpl renamed to list_assemblies.tpl (simple suffix
  never made sense); list_assemblies.php updated accordingly
- Dead files removed: list_assemblies2.tpl, list_assemblies_simple.tpl,
  center_list_assemblies.php, center_list_components.php (unreferenced
  incomplete old embedded-center pattern)

Co-Authored-By: Claude Sonnet 4.6 &lt;noreply@anthropic.com&gt;
</content>
</entry>
<entry>
<title>Stock package: assembly/component model, package-level xref, imports, print BOM</title>
<updated>2026-06-07T15:51:15Z</updated>
<author>
<name>Lester Caine</name>
<email>lester@lsces.co.uk</email>
</author>
<published>2026-06-07T15:51:15Z</published>
<link rel='alternate' type='text/html' href='https://git.rdm1.uk/stock/.git/commit/?id=9f5cb5855df61554e38a6da5d036bd78d421a2a9'/>
<id>urn:sha1:9f5cb5855df61554e38a6da5d036bd78d421a2a9</id>
<content type='text'>
- LibertyXrefInfo/LibertyXrefGroup: package-level guid support ('stock')
  so stgrp, supplier, kitlocker groups are shared across SA and SC
- schema_inc.php: stgrp group with KLG01-28, supplier consolidated to 'stock'
  level, kitlocker moved to 'stock', duplicate #PN/#PR removed
- StockAssembly::getList(): non_root_only and show_empty fixes for standalone
  assemblies (no gallery hierarchy)
- StockBase::loadXrefInfo(): instantiates with 'stock' package guid
- list_assemblies.php: gallery_id param, show_empty default for flat list
- edit_assembly.php: STOCKCOMPONENT_CONTENT_TYPE_GUID → string literal
- ImportSimpleComponent: SCREF lookup fixed (xkey not xkey_ext), #SUP row
  now carries PN/price/URL directly; #PN #PR #URL separate rows removed
- ImportKitlockerAssemblies, load_kitlocker_assemblies, load_component_list:
  new importers for KitlockerAssemblies.csv (A/C split) and Component List.csv
- print_bom.php + print_bom.tpl: read-only printable BOM (p_stock_view only)
  with auto window.print() on load
- component_order.tpl: print icon (floaticon), position number for print,
  hidden-print on form controls
- list_stock.tpl: print icon
- view_assembly.tpl: print icon → print_bom.php; permission gates tightened
- ipackage duplicate attributes removed from templates

Co-Authored-By: Claude Sonnet 4.6 &lt;noreply@anthropic.com&gt;
</content>
</entry>
<entry>
<title>Remove assembly_id/component_id: use content_id throughout</title>
<updated>2026-05-31T11:10:39Z</updated>
<author>
<name>Lester Caine</name>
<email>lester@lsces.co.uk</email>
</author>
<published>2026-05-31T11:10:39Z</published>
<link rel='alternate' type='text/html' href='https://git.rdm1.uk/stock/.git/commit/?id=8c97edc1011e46e52ccecd9e7cc5f1bd9fcadc08'/>
<id>urn:sha1:8c97edc1011e46e52ccecd9e7cc5f1bd9fcadc08</id>
<content type='text'>
All stock classes, templates, imports, and controllers now reference
content_id directly. StockRemote deleted (unused). StockBase: dead
methods (isMachineName, updatePosition, isEditable) removed; hash_key
aliases dropped. getList() keyed by content_id, fixing missing
content_id in row data.

Co-Authored-By: Claude Sonnet 4.6 &lt;noreply@anthropic.com&gt;
</content>
</entry>
<entry>
<title>Hierarchical assembly browsing via list_assemblies.php</title>
<updated>2026-05-28T15:42:45Z</updated>
<author>
<name>Lester Caine</name>
<email>lester@lsces.co.uk</email>
</author>
<published>2026-05-28T15:42:45Z</published>
<link rel='alternate' type='text/html' href='https://git.rdm1.uk/stock/.git/commit/?id=639fd9f85e189cf98977af0caf20108bb557eb2a'/>
<id>urn:sha1:639fd9f85e189cf98977af0caf20108bb557eb2a</id>
<content type='text'>
StockAssembly::getList(): add parent_content_id filter (EXISTS subquery)
to show only direct children of a given assembly; add child_count subquery
so the template can distinguish containers from leaf assemblies.
list_assemblies.php: when assembly_id param present, filter to children
of that assembly; assign parentAssembly for breadcrumb.
list_assemblies_simple.tpl: breadcrumb trail when drilling down; title
links to list_assemblies.php?assembly_id=X for containers, view.php for
leaf assemblies (child_count == 0).

Co-Authored-By: Claude Sonnet 4.6 &lt;noreply@anthropic.com&gt;
</content>
</entry>
<entry>
<title>Add simple table list for assemblies with thumbnails and description</title>
<updated>2026-05-27T19:00:26Z</updated>
<author>
<name>Lester Caine</name>
<email>lester@lsces.co.uk</email>
</author>
<published>2026-05-27T19:00:26Z</published>
<link rel='alternate' type='text/html' href='https://git.rdm1.uk/stock/.git/commit/?id=a848cd4505432151802a4d956fc72e79fcd8e9f2'/>
<id>urn:sha1:a848cd4505432151802a4d956fc72e79fcd8e9f2</id>
<content type='text'>
Replaces panel/card layout with a sortable table view. Each row shows a
thumbnail, title, description (truncated at 250 chars), and optional
creator/date/hits columns driven by existing feature flags.

Co-Authored-By: Claude Sonnet 4.6 &lt;noreply@anthropic.com&gt;
</content>
</entry>
<entry>
<title>Fix assembly description storage and empty-assembly listing</title>
<updated>2026-05-26T15:20:23Z</updated>
<author>
<name>Lester Caine</name>
<email>lester@lsces.co.uk</email>
</author>
<published>2026-05-26T15:20:23Z</published>
<link rel='alternate' type='text/html' href='https://git.rdm1.uk/stock/.git/commit/?id=abc85fed002f33b246a57f948a857d6c68f57e45'/>
<id>urn:sha1:abc85fed002f33b246a57f948a857d6c68f57e45</id>
<content type='text'>
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 &lt;noreply@anthropic.com&gt;
</content>
</entry>
<entry>
<title>Add xref support, assembly/component views, and import tooling</title>
<updated>2026-05-26T13:55:36Z</updated>
<author>
<name>Lester Caine</name>
<email>lester@lsces.co.uk</email>
</author>
<published>2026-05-26T13:55:36Z</published>
<link rel='alternate' type='text/html' href='https://git.rdm1.uk/stock/.git/commit/?id=70c559432ece25dd3def8c64ddb7c1908b4d49e0'/>
<id>urn:sha1:70c559432ece25dd3def8c64ddb7c1908b4d49e0</id>
<content type='text'>
- add_xref.php, edit_xref.php: xref record add/edit for stock content types
- admin xref group/source pages for stock_assembly and stock_component
- assembly_views/: auto_flow, fixed_grid, position_number, simple_list layouts
- Full assembly and component listing, tree, ordering, and detail pages
- Import tooling (ImportAssembly, ImportComponent, load scripts)
- liberty_plugins for assembly and component data types
- schema_inc.php updated; StockAssembly, StockBase, StockComponent,
  StockMovement classes updated with xref group/item/multiple renames
- Templates updated throughout for xref rename (source→item, group→x_group)

Co-Authored-By: Claude Sonnet 4.6 &lt;noreply@anthropic.com&gt;
</content>
</entry>
</feed>
