Bug 40825

Summary: CGI::param called in list context from koha-tmpl/intranet-tmpl/prog/en/modules/catalogue/itemsearch.tt
Product: Koha Reporter: Marcel de Rooy <m.de.rooy>
Component: Architecture, internals, and plumbingAssignee: Bugs List <koha-bugs>
Status: NEW --- QA Contact: Testopia <testopia>
Severity: normal    
Priority: P5 - low    
Version: Main   
Hardware: All   
OS: All   
GIT URL: Change sponsored?: ---
Patch complexity: --- Documentation contact:
Documentation submission: Text to go in the release notes:
Version(s) released in:
Circulation function:

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