Koha/koha-tmpl/intranet-tmpl/prog/en/modules/reports
Owen 07464b53ed Bug 29351: Add missing cn_source parameter to reports parameter menu
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>
2021-11-02 16:50:01 +01:00
..
csv Bug 29271: (QA follow-up) Add missing filter 2021-10-21 10:09:51 +02:00
acquisitions_stats.tt Bug 29240: Rename start_for with date_to 2021-10-19 14:08:09 +02:00
bor_issues_top.tt Bug 29240: Rename start_for with date_to 2021-10-19 14:08:09 +02:00
borrowers_out.tt Bug 28949: Use Flatpickr on reports pages 2021-10-05 10:58:13 +02:00
borrowers_stats.tt Bug 29240: Rename start_for with date_to 2021-10-19 14:08:09 +02:00
cash_register_stats.tt Bug 29271: (QA follow-up) Fetch and send descriptions to template 2021-10-21 10:09:51 +02:00
cat_issues_top.tt Bug 29240: Rename start_for with date_to 2021-10-19 14:08:09 +02:00
catalogue_out.tt
catalogue_stats.tt Bug 29240: Rename start_for with date_to 2021-10-19 14:08:09 +02:00
convert_report.tt
dictionary.tt Bug 29240: Rename start_for with date_to 2021-10-19 14:08:09 +02:00
guided_reports_start.tt Bug 29351: Add missing cn_source parameter to reports parameter menu 2021-11-02 16:50:01 +01:00
issues_avg_stats.tt Bug 29240: Rename start_for with date_to 2021-10-19 14:08:09 +02:00
issues_stats.tt Bug 29240: Rename start_for with date_to 2021-10-19 14:08:09 +02:00
itemslost.tt
itemtypes.tt
orders_by_budget.tt
reports-home.tt Bug 28454: Add Koha version number to database schema link in reports 2021-09-29 12:47:33 +02:00
reserves_stats.tt Bug 29240: Rename start_for with date_to 2021-10-19 14:08:09 +02:00
serials_stats.tt