View | Details | Raw Unified | Return to bug 7936
Collapse All | Expand All

(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/help/reports/acquisitions_stats.tt (-1 / +1 lines)
Lines 12-17 Link Here
12
12
13
<p>Choosing amount will change your results to appear as the sum of the amounts spent.</p>
13
<p>Choosing amount will change your results to appear as the sum of the amounts spent.</p>
14
14
15
<p><strong>See the full documentation for Acquisitions Statistics in the <a href="http://manual.koha-community.org/3.6/en/statsreports.html#acqstats">manual</a> (online).</strong></p>
15
<p><strong>See the full documentation for Acquisitions Statistics in the <a href="http://manual.koha-community.org/3.8/en/statsreports.html#acqstats">manual</a> (online).</strong></p>
16
16
17
[% INCLUDE 'help-bottom.inc' %]
17
[% INCLUDE 'help-bottom.inc' %]
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/help/reports/bor_issues_top.tt (-1 / +1 lines)
Lines 8-13 Link Here
8
8
9
<p>You can also choose to export to a file that you can manipulate to your needs.</p>
9
<p>You can also choose to export to a file that you can manipulate to your needs.</p>
10
10
11
<p><strong>See the full documentation for the Patrons with the most Checkouts report in the <a href="http://manual.koha-community.org/3.6/en/statsreports.html#mostcheckouts">manual</a> (online).</strong></p>
11
<p><strong>See the full documentation for the Patrons with the most Checkouts report in the <a href="http://manual.koha-community.org/3.8/en/statsreports.html#mostcheckouts">manual</a> (online).</strong></p>
12
12
13
[% INCLUDE 'help-bottom.inc' %]
13
[% INCLUDE 'help-bottom.inc' %]
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/help/reports/borrowers_out.tt (-1 / +1 lines)
Lines 8-13 Link Here
8
8
9
<p>You can also choose to export to a file that you can manipulate to your needs.</p>
9
<p>You can also choose to export to a file that you can manipulate to your needs.</p>
10
10
11
<p><strong>See the full documentation for the Patrons with no Checkouts report in the <a href="http://manual.koha-community.org/3.6/en/statsreports.html#patnocheckouts">manual</a> (online).</strong></p>
11
<p><strong>See the full documentation for the Patrons with no Checkouts report in the <a href="http://manual.koha-community.org/3.8/en/statsreports.html#patnocheckouts">manual</a> (online).</strong></p>
12
12
13
[% INCLUDE 'help-bottom.inc' %]
13
[% INCLUDE 'help-bottom.inc' %]
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/help/reports/borrowers_stats.tt (-1 / +1 lines)
Lines 8-14 Link Here
8
8
9
<p>Based on your selections, you may see some query information above your results table. You can also choose to export to a file that you can manipulate to your needs.</p>
9
<p>Based on your selections, you may see some query information above your results table. You can also choose to export to a file that you can manipulate to your needs.</p>
10
10
11
<p><strong>See the full documentation for Patron Statistics in the <a href="http://manual.koha-community.org/3.6/en/statsreports.html#patstats">manual</a> (online).</strong></p>
11
<p><strong>See the full documentation for Patron Statistics in the <a href="http://manual.koha-community.org/3.8/en/statsreports.html#patstats">manual</a> (online).</strong></p>
12
12
13
[% INCLUDE 'help-bottom.inc' %]
13
[% INCLUDE 'help-bottom.inc' %]
14
14
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/help/reports/cat_issues_top.tt (-1 / +1 lines)
Lines 8-13 Link Here
8
8
9
<p>You can also choose to export to a file that you can manipulate to your needs.</p>
9
<p>You can also choose to export to a file that you can manipulate to your needs.</p>
10
10
11
<p><strong>See the full documentation for the Most Circulation Items report in the <a href="http://manual.koha-community.org/3.6/en/statsreports.html#mostcirculated">manual</a> (online).</strong></p>
11
<p><strong>See the full documentation for the Most Circulation Items report in the <a href="http://manual.koha-community.org/3.8/en/statsreports.html#mostcirculated">manual</a> (online).</strong></p>
12
12
13
[% INCLUDE 'help-bottom.inc' %]
13
[% INCLUDE 'help-bottom.inc' %]
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/help/reports/catalogue_out.tt (-1 / +1 lines)
Lines 8-13 Link Here
8
8
9
<p>You can also choose to export to a file that you can manipulate to your needs.</p>
9
<p>You can also choose to export to a file that you can manipulate to your needs.</p>
10
10
11
<p><strong>See the full documentation for the Items with no Checkouts report in the <a href="http://manual.koha-community.org/3.6/en/statsreports.html#itemnocheckouts">manual</a> (online).</strong></p>
11
<p><strong>See the full documentation for the Items with no Checkouts report in the <a href="http://manual.koha-community.org/3.8/en/statsreports.html#itemnocheckouts">manual</a> (online).</strong></p>
12
12
13
[% INCLUDE 'help-bottom.inc' %]
13
[% INCLUDE 'help-bottom.inc' %]
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/help/reports/catalogue_stats.tt (-1 / +1 lines)
Lines 8-14 Link Here
8
8
9
<p>You can also choose to export to a file that you can manipulate to your needs.</p>
9
<p>You can also choose to export to a file that you can manipulate to your needs.</p>
10
10
11
<p><strong>See the full documentation for Catalog Statistics in the <a href="http://manual.koha-community.org/3.6/en/statsreports.html#catstats">manual</a> (online).</strong></p>
11
<p><strong>See the full documentation for Catalog Statistics in the <a href="http://manual.koha-community.org/3.8/en/statsreports.html#catstats">manual</a> (online).</strong></p>
12
12
13
[% INCLUDE 'help-bottom.inc' %]
13
[% INCLUDE 'help-bottom.inc' %]
14
14
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/help/reports/dictionary.tt (-1 / +1 lines)
Lines 18-23 Link Here
18
18
19
<p>Then when generating reports on the module you created the value for you will see an option to limit by the definition at the bottom of the usual filters.</p>
19
<p>Then when generating reports on the module you created the value for you will see an option to limit by the definition at the bottom of the usual filters.</p>
20
20
21
<p><strong>See the full documentation for the Reports Dictionary in the <a href="http://manual.koha-community.org/3.6/en/reportdic.html">manual</a> (online).</strong></p>
21
<p><strong>See the full documentation for the Reports Dictionary in the <a href="http://manual.koha-community.org/3.8/en/reportdic.html">manual</a> (online).</strong></p>
22
22
23
[% INCLUDE 'help-bottom.inc' %]
23
[% INCLUDE 'help-bottom.inc' %]
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/help/reports/guided_reports.tt (-15 / +38 lines)
Lines 2-7 Link Here
2
2
3
<h1>Add a Custom Report</h1>
3
<h1>Add a Custom Report</h1>
4
4
5
<h2>Guided Report Wizard</h2>
6
5
<p>If the report you need is not already available, the 'Guided Reports' Wizard will walk you through creating a custom report.</p>
7
<p>If the report you need is not already available, the 'Guided Reports' Wizard will walk you through creating a custom report.</p>
6
8
7
<ul>
9
<ul>
Lines 47-78 Link Here
47
<li>A page with editable fields will open so that you can change the title, notes and SQL related to the report</li>
49
<li>A page with editable fields will open so that you can change the title, notes and SQL related to the report</li>
48
</ul>
50
</ul>
49
51
50
<h1>Questions</h1>
52
<h2>Report from SQL</h2>
51
52
<p><strong>Is there a repository for reports?</strong></p>
53
53
54
<p>There is a page on the Koha Wiki: <a href="http://wiki.koha-community.org/wiki/SQL_Reports_Library" target="_new">http://wiki.koha-community.org/wiki/SQL_Reports_Library</a> with reports written by Koha libraries around the world.</p>
54
<p>In addition to the report wizard, you have the option to write your own queries using SQL. To find reports written by other Koha users, visit the Koha Wiki: <a href="http://wiki.koha-community.org/wiki/SQL_Reports_Library">http://wiki.koha-community.org/wiki/SQL_Reports_Library</a>. You can also find your database structure in /installer/data/mysql/kohastructure.sql or online at: <a href="http://schema.koha-community.org">http://schema.koha-community.org</a>.</p>
55
55
56
<p>NEKLS also has a great page (<a href="http://www.nexpresslibrary.org/training/reports-training/" target="_new">http://www.nexpresslibrary.org/training/reports-training/</a>) with a list of reports they have written.</p>
56
<p>To add your query, click the link to 'Create from SQL' on the main reports module or the New button at the top of the Saved Reports page.</p>
57
57
58
<p><strong>Can I have run-time defined parameters?</strong></p>
58
<p>Fill in the form presented</p>
59
<ul>
60
    <li>The name is what will appear on the Saved Reports page to help you identify the report later. It will also be searchable using the filters found the left of the Saved Reports page.</li>
61
    <li>Notes will also appear on the Saved Reports page, this can be used to provide more details about the report or tips on how to enter values when it runs</li>
62
    <li>The type should always be 'Tabular' at this time since the other formats have not been implemented</li>
63
    <li>In the SQL box you will type or paste the SQL for the report</li>
64
	<li>If you feel that your report might be too resource intensive you might want to consider using runtime parameters to your query. Runtime parameters basically make a filter appear before the report is run to save your system resources.
65
<ul>
66
	<li><strong>Note:</strong> There is a limit of 10,000 records put on SQL statements entered in Koha. To get around this you want to add 'LIMIT 100000' to the end of your SQL statement (or any other number above 10,000.</li>
67
	<li>There is a specific syntax that Koha will understand as 'ask for values when running the report'. The syntax is &lt;&lt;Question to ask|authorized_value&gt;&gt;.</li>
68
	<li>The &lt;&lt; and &gt;&gt; are just delimiters. You must put &lt;&lt; at the beginning and &gt;&gt; at the end of your parameter</li>
69
	<li>The 'Question to ask' will be displayed on the left of the string to enter.</li>
70
	<li>The authorized_value can be omitted if not applicable. If it contains an authorized value category, or branches or itemtype or categorycode, a list with the Koha authorized 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</li>
71
</ul>
59
72
60
<p>Yes, you can: there is a specific syntax that Koha will understand as 'ask for values when running the report'. The syntax is &lt;&lt;Question to ask|authorised_value&gt;&gt;.</p>
73
<p>Examples:</p>
61
74
62
<ul>
75
<ul>
63
<li>The &lt;&lt; and &gt;&gt; are just delimiters. You must put &lt;&lt; at the beginning and &gt;&gt; at the end of your parameter</li>
76
	<li>SELECT surname, firstname<br />
64
<li>The <strong>Question to ask</strong> will be displayed on the left of the string to enter. 
77
	FROM borrowers<br />
65
<li>The <strong>authorised_value</strong> 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.  If the authorised value is <strong>date</strong>, a date selector button will be added after the input field</li>
78
	WHERE branchcode=&lt;&lt;Enter patrons library|branches&gt;&gt; AND surname like &lt;&lt;Enter filter for patron surname (% if none)&gt;&gt;</li>
79
	<li>SELECT *<br />
80
	FROM items<br />
81
	WHERE homebranch = &lt;&lt;Pick your branch|branches&gt;&gt; and barcode like &lt;&lt;Partial barcode value here (use % for wildcard)&gt;&gt;</li>
82
</ul>
83
</li>
84
	<li style="background-color: #ffe599;">Tip: To generate a date picker calendar to the right of the field when running a report you can use the 'date' keyword like this: &lt;&lt;Enter Date|date&gt;&gt;</li>
85
	<li style="background-color: #ffe599;">Tip: You have to put "%" in a text box to 'leave it blank'. Otherwise, it literally looks for "" (empty string) as the value for the field.</li>
86
	<li style="color: #990000;">Important: In addition to using any authorized value code to generate a dropdown, you can use the following values as well: Branches (branches), Item Types (itemtypes) and Patron Categories (categorycode). For example a branch pull down would be generated like this &lt;&lt;Branch|branches&gt;&gt;</li>
66
</ul>
87
</ul>
67
88
68
<p>Note that you can have more than one parameter in a given SQL</p>
89
<p>Once everything is entered click the 'Save Report' button and you'll be presented with options to run it. Once a report is saved you do not have to recreate it you can simply find it on the Saved Reports page and run or edit it.</p>
69
90
70
<p>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</p>
91
<h1>Questions</h1>
71
92
72
<p>Sample :</p>
93
<p><strong>Is there a repository for reports?</strong></p>
73
94
74
<ul><li>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;</li></ul>
95
<p>There is a page on the Koha Wiki: <a href="http://wiki.koha-community.org/wiki/SQL_Reports_Library" target="_new">http://wiki.koha-community.org/wiki/SQL_Reports_Library</a> with reports written by Koha libraries around the world.</p>
96
97
<p>NEKLS also has a great page (<a href="http://www.nexpresslibrary.org/training/reports-training/" target="_new">http://www.nexpresslibrary.org/training/reports-training/</a>) with a list of reports they have written.</p>
75
98
76
<p><strong>See the full documentation for Custom Reports in the <a href="http://manual.koha-community.org/3.6/en/reports.html#customreports">manual</a> (online).</strong></p>
99
<p><strong>See the full documentation for Custom Reports in the <a href="http://manual.koha-community.org/3.8/en/reports.html#customreports">manual</a> (online).</strong></p>
77
100
78
[% INCLUDE 'help-bottom.inc' %]
101
[% INCLUDE 'help-bottom.inc' %]
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/help/reports/issues_avg_stats.tt (-1 / +1 lines)
Lines 8-13 Link Here
8
8
9
<p>You can also choose to export to a file that you can manipulate to your needs.</p>
9
<p>You can also choose to export to a file that you can manipulate to your needs.</p>
10
10
11
<p><strong>See the full documentation for the Average Loan Time report in the <a href="http://manual.koha-community.org/3.6/en/statsreports.html#avloantime">manual</a> (online).</strong></p>
11
<p><strong>See the full documentation for the Average Loan Time report in the <a href="http://manual.koha-community.org/3.8/en/statsreports.html#avloantime">manual</a> (online).</strong></p>
12
12
13
[% INCLUDE 'help-bottom.inc' %]
13
[% INCLUDE 'help-bottom.inc' %]
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/help/reports/issues_stats.tt (-1 / +1 lines)
Lines 19-24 Link Here
19
	<li>For a single day, an example would be: 11/15/2009 to 11/16/2009 to find what circulated on the 15th</li>
19
	<li>For a single day, an example would be: 11/15/2009 to 11/16/2009 to find what circulated on the 15th</li>
20
</ul>
20
</ul>
21
21
22
<p><strong>See the full documentation for Circulation Statistics in the <a href="http://manual.koha-community.org/3.6/en/statsreports.html#circstats">manual</a> (online).</strong></p>
22
<p><strong>See the full documentation for Circulation Statistics in the <a href="http://manual.koha-community.org/3.8/en/statsreports.html#circstats">manual</a> (online).</strong></p>
23
23
24
[% INCLUDE 'help-bottom.inc' %]
24
[% INCLUDE 'help-bottom.inc' %]
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/help/reports/itemslost.tt (-1 / +1 lines)
Lines 16-21 Link Here
16
		</ul>
16
		</ul>
17
	</div>	
17
	</div>	
18
18
19
<p><strong>See the full documentation for the Lost Items report in the <a href="http://manual.koha-community.org/3.6/en/statsreports.html#lostreport">manual</a> (online).</strong></p>
19
<p><strong>See the full documentation for the Lost Items report in the <a href="http://manual.koha-community.org/3.8/en/statsreports.html#lostreport">manual</a> (online).</strong></p>
20
	
20
	
21
[% INCLUDE 'help-bottom.inc' %]
21
[% INCLUDE 'help-bottom.inc' %]
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/help/reports/manager.tt (-1 / +1 lines)
Lines 8-13 Link Here
8
8
9
<p>You can also choose to export to a file that you can manipulate to your needs.</p>
9
<p>You can also choose to export to a file that you can manipulate to your needs.</p>
10
10
11
<p><strong>See the full documentation for the Catalog by Item Type report in the <a href="http://manual.koha-community.org/3.6/en/statsreports.html#catbyitem">manual</a> (online).</strong></p>
11
<p><strong>See the full documentation for the Catalog by Item Type report in the <a href="http://manual.koha-community.org/3.8/en/statsreports.html#catbyitem">manual</a> (online).</strong></p>
12
12
13
[% INCLUDE 'help-bottom.inc' %]
13
[% INCLUDE 'help-bottom.inc' %]
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/help/reports/reports-home.tt (-1 / +3 lines)
Lines 8-13 Link Here
8
	<li>Custom Reports
8
	<li>Custom Reports
9
<ul>
9
<ul>
10
	<li>Koha's data is stored in a MySQL database which means that librarians can generate nearly any report they would like by either using the Guided Reports Wizard or writing their own SQL query.</li>
10
	<li>Koha's data is stored in a MySQL database which means that librarians can generate nearly any report they would like by either using the Guided Reports Wizard or writing their own SQL query.</li>
11
	<li>The <a href="http://schema.koha-community.org/" target="blank">Koha database schema</a> will help you learn the Koha database structure so that you can write effective SQL Queries</li>
12
    <li>The <a href="http://wiki.koha-community.org/wiki/SQL_Reports_Library" target="blank">Koha reports library</a> lists reports written by Koha users around the world.</li>
11
</ul>
13
</ul>
12
</li>
14
</li>
13
	<li>Statistical Reports
15
	<li>Statistical Reports
Lines 17-22 Link Here
17
</li>
19
</li>
18
</ul>
20
</ul>
19
21
20
<p><strong>See the full documentation for Reports in the <a href="http://manual.koha-community.org/3.6/en/reports.html">manual</a> (online).</strong></p>
22
<p><strong>See the full documentation for Reports in the <a href="http://manual.koha-community.org/3.8/en/reports.html">manual</a> (online).</strong></p>
21
23
22
[% INCLUDE 'help-bottom.inc' %]
24
[% INCLUDE 'help-bottom.inc' %]
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/help/reports/reserves_stats.tt (+15 lines)
Line 0 Link Here
1
[% INCLUDE 'help-top.inc' %]
2
3
<h1>Holds Statistics</h1>
4
5
<p><strong>Note:</strong> These reports are limited in what data they can look at, so it's often recommended to use custom reports for official end of the year statistics.</p>
6
7
<p>Using the form provided you can see statistics for holds placed, filled, cancelled and more at your library. From the form choose what value you want to display in the column and what value to show in the row. You can also choose from the filters on the far right of the form.</p>
8
9
<p>If you choose to output to the browser your results will print to the screen.</p>
10
11
<p>You can also choose to export to a file that you can manipulate to your needs.</p>
12
13
<p><strong>See the full documentation for Holds Statistics in the <a href="manual.koha-community.org/3.8/en/statsreports.html#holdstats">manual</a> (online).</strong></p>
14
15
[% INCLUDE 'help-bottom.inc' %]
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/help/reports/serials_stats.tt (-2 / +1 lines)
Lines 8-13 Link Here
8
8
9
<p>You can also choose to export to a file that you can manipulate to your needs.</p>
9
<p>You can also choose to export to a file that you can manipulate to your needs.</p>
10
10
11
<p><strong>See the full documentation for Serials Statistics in the <a href="http://manual.koha-community.org/3.6/en/statsreports.html#serialstats">manual</a> (online).</strong></p>
11
<p><strong>See the full documentation for Serials Statistics in the <a href="http://manual.koha-community.org/3.8/en/statsreports.html#serialstats">manual</a> (online).</strong></p>
12
12
13
[% INCLUDE 'help-bottom.inc' %]
13
[% INCLUDE 'help-bottom.inc' %]
14
- 

Return to bug 7936