Koha-clms/reports
David Cook 4daf0b7982
Bug 39298: Add runtime parameter support to report templates
This change makes it so that you can provide runtime parameters
and use "Run with template".

Test plan:
0. Apply the patch and koha-plack --restart kohadev
1. Create a report template. For example:
<table>
<tr><th>Transformed Biblionumber</th></tr>
[% FOREACH row IN data %]
<tr><td>Biblionumber [% row.biblionumber %]</td></tr>
[% END %]
</table>
2. Create a SQL report with a runtime parameter. For example:
SELECT biblionumber
FROM biblio
WHERE biblionumber > <<biblionumber>>
3. Run the report using "Run with template"
4. Specify a biblionumber of 1
5. Click "Run the report"
6. Note that the output is the template output and not regular
SQL output

Signed-off-by: David Nind <david@davidnind.com>
Signed-off-by: Julian Maurice <julian.maurice@biblibre.com>
Signed-off-by: Katrin Fischer <katrin.fischer@bsz-bw.de>
2025-04-11 09:52:36 +02:00
..
acquisitions_stats.pl Bug 38664: Tidy the whole codebase 2025-02-11 14:58:24 +01:00
bor_issues_top.pl Bug 38664: Tidy the whole codebase 2025-02-11 14:58:24 +01:00
borrowers_out.pl Bug 38664: Tidy the whole codebase 2025-02-11 14:58:24 +01:00
borrowers_stats.pl Bug 38664: Tidy the whole codebase 2025-02-11 14:58:24 +01:00
cash_register_stats.pl Bug 38664: Tidy the whole codebase 2025-02-11 14:58:24 +01:00
cat_issues_top.pl Bug 38664: Tidy the whole codebase 2025-02-11 14:58:24 +01:00
catalog_by_itemtype.pl Bug 38664: Tidy the whole codebase 2025-02-11 14:58:24 +01:00
catalogue_out.pl Bug 38664: Tidy the whole codebase 2025-02-11 14:58:24 +01:00
catalogue_stats.pl Bug 38664: Tidy the whole codebase 2025-02-11 14:58:24 +01:00
dictionary.pl Bug 38664: Tidy the whole codebase 2025-02-11 14:58:24 +01:00
guided_reports.pl Bug 39298: Add runtime parameter support to report templates 2025-04-11 09:52:36 +02:00
issues_avg_stats.pl Bug 38664: Tidy the whole codebase 2025-02-11 14:58:24 +01:00
issues_stats.pl Bug 38664: Tidy the whole codebase 2025-02-11 14:58:24 +01:00
itemslost.pl Bug 38664: Tidy the whole codebase 2025-02-11 14:58:24 +01:00
orders_by_fund.pl Bug 38664: Tidy the whole codebase 2025-02-11 14:58:24 +01:00
reports-home.pl Bug 38664: Tidy the whole codebase 2025-02-11 14:58:24 +01:00
reserves_stats.pl Bug 38664: Tidy the whole codebase 2025-02-11 14:58:24 +01:00
serials_stats.pl Bug 38664: Tidy the whole codebase 2025-02-11 14:58:24 +01:00