summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLester Caine <lester@lsces.co.uk>2026-06-19 14:54:10 +0100
committerLester Caine <lester@lsces.co.uk>2026-06-19 14:54:10 +0100
commita0ca759233eca5363d6afd463ec6f0b8e09d645c (patch)
tree5dcde926faeeb53b9bb1878f3a2ad4cca429ef49
parent23bc437d083984b75e3c261f80239c0f7926c6b6 (diff)
downloadstock-a0ca759233eca5363d6afd463ec6f0b8e09d645c.tar.gz
stock-a0ca759233eca5363d6afd463ec6f0b8e09d645c.tar.bz2
stock-a0ca759233eca5363d6afd463ec6f0b8e09d645c.zip
list_stock.tpl: switch from {include} to {pagination} plugin for page links
{include} skips the plugin's setup of \$pgnUrl from SCRIPT_NAME, so page link URLs were malformed. Matches the pattern used by list_movements and list_assemblies. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
-rw-r--r--templates/list_stock.tpl2
1 files changed, 1 insertions, 1 deletions
diff --git a/templates/list_stock.tpl b/templates/list_stock.tpl
index 71b7c88..e9ec527 100644
--- a/templates/list_stock.tpl
+++ b/templates/list_stock.tpl
@@ -106,7 +106,7 @@
{else}
<p class="muted">{tr}No stock records found.{/tr}</p>
{/if}
- {if $listInfo}{include file="bitpackage:kernel/pagination.tpl"}{/if}
+ {pagination user_id=$filterUserId|default:'' find=$find|default:''}
</section>
</div>