Bug 40825 - CGI::param called in list context from koha-tmpl/intranet-tmpl/prog/en/modules/catalogue/itemsearch.tt
Summary: CGI::param called in list context from koha-tmpl/intranet-tmpl/prog/en/module...
Status: NEW
Alias: None
Product: Koha
Classification: Unclassified
Component: Architecture, internals, and plumbing (show other bugs)
Version: Main
Hardware: All All
: P5 - low normal
Assignee: Bugs List
QA Contact: Testopia
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2025-09-17 11:59 UTC by Marcel de Rooy
Modified: 2025-09-17 12:01 UTC (History)
0 users

See Also:
GIT URL:
Change sponsored?: ---
Patch complexity: ---
Documentation contact:
Documentation submission:
Text to go in the release notes:
Version(s) released in:
Circulation function:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Marcel de Rooy 2025-09-17 11:59:17 UTC
This is an TT issue with default list context on this template line:

[% IF query.param(name _ '_op') == '=' || !query.param(name _ '_op') %]

I am not sure if passing query to a template is a good idea anyway.
Comment 1 Marcel de Rooy 2025-09-17 12:01:56 UTC
Just for reference:
https://template-toolkit.org/docs/modules/Template/Stash/Context.html