@@ -, +, @@ parameter menu - 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: <> - Use it to create a valid SQL report, for example: SELECT * FROM items WHERE cn_source = <> LIMIT 10 - Confirm that upon running the report you are prompted to select a classification source. - Confirm that the report runs correctly. --- .../intranet-tmpl/prog/en/modules/reports/guided_reports_start.tt | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) --- a/koha-tmpl/intranet-tmpl/prog/en/modules/reports/guided_reports_start.tt +++ a/koha-tmpl/intranet-tmpl/prog/en/modules/reports/guided_reports_start.tt @@ -1531,6 +1531,11 @@ $("label[for='authorised_value']").addClass("required"); $("#authorised_value").prop("required", true ).attr("required", "required").addClass("required"); break; + case "insertCnSource": + modalTitle.text( _("Insert classification source parameter") ); + $("#paramLabel").val( _("Source of classification or shelving scheme") ); + $("#param_category").val("cn_source"); + break; case "insertDate": modalTitle.text( _("Insert date parameter") ); $("#paramLabel").val( _("Date") ); @@ -2278,7 +2283,8 @@ Insert runtime parameter