[Koha-bugs] [Bug 30455] New: Incorrect template filter breaks holds
bugzilla-daemon at bugs.koha-community.org
bugzilla-daemon at bugs.koha-community.org
Tue Apr 5 13:15:45 CEST 2022
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=30455
Bug ID: 30455
Summary: Incorrect template filter breaks holds
Change sponsored?: ---
Product: Koha
Version: master
Hardware: All
OS: All
Status: ASSIGNED
Severity: critical
Priority: P5 - low
Component: Templates
Assignee: oleonard at myacpl.org
Reporter: oleonard at myacpl.org
QA Contact: testopia at bugs.koha-community.org
Depends on: 30063
An incorrect filter was added to patron-search.inc:
let defer_loading = [% defer_loading | html ? 1 : 0 %];
Filters don't belong inside conditionals. This makes request.pl break with an
error:
Template process failed: file error - parse error - patron-search.inc line 252:
unexpected token (?)
[% defer_loading | html ? 1 : 0 %] at /kohadevbox/koha/C4/Templates.pm line
127
Referenced Bugs:
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=30063
[Bug 30063] Make the main patron search use the /patrons REST API route
--
You are receiving this mail because:
You are watching all bug changes.
More information about the Koha-bugs
mailing list