Owen
07464b53ed
This patch adds an option to insert "Source of classification or shelving scheme" as a runtime parameter in SQL reports. The ability to use cn_source as a parameter seems to have always been part of this feature but wasn't documented. To test, apply the patch and go to Reports -> Create from SQL. - Click the "Insert runtime parameter" button and select "Classification source." - Customize the parameter label if you wish and click "Insert parameter." - The parameter should be inserted like this: <<Source of classification or shelving scheme|cn_source>> - Use it to create a valid SQL report, for example: SELECT * FROM items WHERE cn_source = <<Source of classification or shelving scheme|cn_source>> LIMIT 10 - Confirm that upon running the report you are prompted to select a classification source. - Confirm that the report runs correctly. Signed-off-by: Andrew Fuerste-Henry <andrew@bywatersolutions.com> Signed-off-by: Katrin Fischer <katrin.fischer.83@web.de> Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org> |
||
---|---|---|
.. | ||
csv | ||
acquisitions_stats.tt | ||
bor_issues_top.tt | ||
borrowers_out.tt | ||
borrowers_stats.tt | ||
cash_register_stats.tt | ||
cat_issues_top.tt | ||
catalogue_out.tt | ||
catalogue_stats.tt | ||
convert_report.tt | ||
dictionary.tt | ||
guided_reports_start.tt | ||
issues_avg_stats.tt | ||
issues_stats.tt | ||
itemslost.tt | ||
itemtypes.tt | ||
orders_by_budget.tt | ||
reports-home.tt | ||
reserves_stats.tt | ||
serials_stats.tt |