Koha/koha-tmpl/intranet-tmpl/prog/en/modules/help
Paul Poulain 7d8b369ba4 Improved guided reports (#3929)
added runtime parameters for guided reports. Online help:

Can I have run-time defined parameters?

Yes, you can: there is a specific syntax that Koha will understand as 'ask for values when running the report'. The syntax is <<Question to ask|authorised_value>>.

The << and >> are just delimiters. You must put << at the beginning and >> at the end of your parameter
The Question to ask will be displayed on the left of the string to enter.
The authorised_value can be omitted if not applicable. If it contains an authorised value category, or <strong>branches</strong> or <strong>itemtype</strong> or <strong>categorycode</strong>, a list with the Koha authorised values will be displayed instead of a free field

Note that you can have more than one parameter in a given SQL
Note that entering nothing at run time won't probably work as you expect. It will be considered as "value empty" not as "ignore this parameter". For example entering nothing for : "title=&lt;&lt;Enter title&gt;&gt;" will display results with title='' (no title). If you want to have to have something not mandatory, use "title like &lt;&lt;Enter title&gt;&gt;" and enter a % at run time instead of nothing
Sample :
SELECT surname,firstname FROM borrowers WHERE branchcode=&lt;&lt;Enter patrons library|branches&gt;&gt; AND surname like &lt;&lt;Enter filter for patron surname (% if none)&gt;&gt;
2010-01-28 15:11:46 +01:00
..
acqui Updated help files - Part 3 2009-08-15 09:31:36 -04:00
admin Updated help files. 2009-09-29 19:16:13 -04:00
authorities Spelling corrections: organisation->organization, authorise->authorize, catalogue->catalog 2008-09-02 15:43:29 -05:00
catalogue Complete sweep of help files in order to correct invalid markup and fix Bug 2444(break up long lines in templates). 2008-08-01 14:33:28 -05:00
cataloguing Fix for Bug 2743, Z39.50, not z39.50 2009-12-31 10:58:03 +01:00
circ updated help files with new documentation 2009-12-20 14:27:48 +01:00
export
labels Updates and adds new help files 2009-08-15 09:31:21 -04:00
members Updated help files 2009-09-29 19:16:20 -04:00
offline_circ More Updated Help Files 2009-08-15 09:31:25 -04:00
reports Improved guided reports (#3929) 2010-01-28 15:11:46 +01:00
reserve Complete sweep of help files in order to correct invalid markup and fix Bug 2444(break up long lines in templates). 2008-08-01 14:33:28 -05:00
reviews Complete sweep of help files in order to correct invalid markup and fix Bug 2444(break up long lines in templates). 2008-08-01 14:33:28 -05:00
serials Fixes for Bug 3958, Standardize vendor/supplier/bookseller terminology 2010-01-25 18:37:12 +01:00
suggestion updated suggestions help file name to match new naming structure 2009-12-20 14:28:27 +01:00
tags updated Tools help files 2010-01-07 16:43:34 +01:00
tools updated Tools help files 2010-01-07 16:43:34 +01:00
virtualshelves Updated help files. 2009-09-29 19:16:13 -04:00
about.tmpl
edithelp.tmpl bug 3272: preserve formatting when editing help 2009-05-29 08:38:44 -05:00
mainpage.tmpl Complete sweep of help files in order to correct invalid markup and fix Bug 2444(break up long lines in templates). 2008-08-01 14:33:28 -05:00
nohelp.tmpl