diff options
| author | Lester Caine <lester@lsces.co.uk> | 2026-06-21 10:10:17 +0100 |
|---|---|---|
| committer | Lester Caine <lester@lsces.co.uk> | 2026-06-21 10:10:17 +0100 |
| commit | d494e495715e1dca056a05442e83dfb16a0c0354 (patch) | |
| tree | bb9e41c23a0ddb9b7e68936b23ecce445de6bf08 /templates | |
| parent | 8829bafaa683836e0ae16ead818b50ded9ec94f9 (diff) | |
| download | stock-d494e495715e1dca056a05442e83dfb16a0c0354.tar.gz stock-d494e495715e1dca056a05442e83dfb16a0c0354.tar.bz2 stock-d494e495715e1dca056a05442e83dfb16a0c0354.zip | |
Persist filter params through smartlink sort clicks on list pages
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 <noreply@anthropic.com>
Diffstat (limited to 'templates')
| -rw-r--r-- | templates/list_movements.tpl | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/templates/list_movements.tpl b/templates/list_movements.tpl index 424fff9..ec9f4fa 100644 --- a/templates/list_movements.tpl +++ b/templates/list_movements.tpl @@ -46,12 +46,12 @@ <table class="table table-striped table-hover"> <thead> <tr> - <th>{smartlink ititle="Reference" isort="title"}</th> + <th>{smartlink ititle="Reference" isort="title" icontrol=$listInfo}</th> <th>{tr}Type{/tr}</th> {if $partContentId}<th class="text-right">{tr}Qty{/tr}</th>{/if} - <th>{smartlink ititle="Ordered" isort="ref_start_date" ifile="list_movements.php" ipackage="stock"}</th> - <th>{smartlink ititle="Received" isort="event_time" ifile="list_movements.php" ipackage="stock"}</th> - <th>{smartlink ititle="Date" isort="created_desc"}</th> + <th>{smartlink ititle="Ordered" isort="ref_start_date" ifile="list_movements.php" ipackage="stock" icontrol=$listInfo}</th> + <th>{smartlink ititle="Received" isort="event_time" ifile="list_movements.php" ipackage="stock" icontrol=$listInfo}</th> + <th>{smartlink ititle="Date" isort="created_desc" icontrol=$listInfo}</th> <th>{tr}Creator{/tr}</th> {if $gBitUser->hasPermission('p_stock_update')}<th></th>{/if} </tr> |
