1 [% INCLUDE 'doc-head-open.inc' %]
2 <title>Koha › Reports [% IF ( do_it ) %]› Catalog statistics › Results[% ELSE %]› Catalog statistics[% END %]</title>
3 [% INCLUDE 'doc-head-close.inc' %]
4 [% INCLUDE 'calendar.inc' %]
5 <script type="text/javascript">
7 $(document).ready(function() {
8 // http://jqueryui.com/demos/datepicker/#date-range
9 var dates = $( "#from, #to" ).datepicker({
12 onSelect: function( selectedDate ) {
13 var option = this.id == "from" ? "minDate" : "maxDate",
14 instance = $( this ).data( "datepicker" );
15 date = $.datepicker.parseDate(
16 instance.settings.dateFormat ||
17 $.datepicker._defaults.dateFormat,
18 selectedDate, instance.settings );
19 dates.not( this ).datepicker( "option", option, date );
22 var datesRO = $( "#fromRO, #toRO" ).datepicker({
25 onSelect: function( selectedDate ) {
26 var option = this.id == "fromRO" ? "minDate" : "maxDate",
27 instance = $( this ).data( "datepicker" );
28 date = $.datepicker.parseDate(
29 instance.settings.dateFormat ||
30 $.datepicker._defaults.dateFormat,
31 selectedDate, instance.settings );
32 datesRO.not( this ).datepicker( "option", option, date );
39 <body id="rep_catalogue_stats" class="rep">
40 [% INCLUDE 'header.inc' %]
41 [% INCLUDE 'cat-search.inc' %]
43 <div id="breadcrumbs"><a href="/cgi-bin/koha/mainpage.pl">Home</a> › <a href="/cgi-bin/koha/reports/reports-home.pl">Reports</a> [% IF ( do_it ) %]› <a href="/cgi-bin/koha/reports/catalogue_stats.pl">Catalog statistics</a> › Results[% ELSE %]› Catalog statistics[% END %]</div>
45 <div id="doc3" class="yui-t2">
52 [% FOREACH mainloo IN mainloop %]
53 <h1>Catalog statistics</h1>
54 [% IF ( mainloo.loopfilter ) %]
56 [% FOREACH loopfilte IN mainloo.loopfilter %]
57 <p>[% loopfilte.crit %] =[% loopfilte.filter %]</p>
63 <th>[% mainloo.line %] / [% mainloo.column %]</th>
64 [% FOREACH loopco IN mainloo.loopcol %]
65 <th>[% loopco.coltitle %]</th>
69 [% FOREACH loopro IN mainloo.looprow %]
71 [% IF ( loopro.hilighted ) %]<td class="hilighted">[% ELSE %]<td>[% END %]
72 [% loopro.rowtitle %]</td>
73 [% FOREACH loopcel IN loopro.loopcell %]
74 [% IF ( loopcel.hilighted ) %]<td>[% ELSE %]<td>[% END %]
75 [% IF ( loopcel.value ) %][% loopcel.value %]
80 [% IF ( loopro.hilighted ) %]<td>[% ELSE %]<td>[% END %]
87 [% FOREACH loopfoote IN mainloo.loopfooter %]
89 [% loopfoote.totalcol %]
92 <th>[% mainloo.total %]</th>
98 <form method="post" action="/cgi-bin/koha/reports/catalogue_stats.pl">
99 <input type="hidden" name="Filter" /> <input type="hidden" name="Filter" />
100 [% UNLESS ( haslccn ) %]
101 <input type="hidden" name="Filter" /> <input type="hidden" name="Filter" />
103 <fieldset class="rows">
104 <legend>Catalog statistics</legend>
117 <td>LoC classification</td>
118 <td><input type="radio" name="Line" value="lccn" /></td>
119 <td><input type="radio" name="Column" value="lccn" /></td>
120 <td> <label for="locFrom">From</label> <input type="text" name="Filter" id="locFrom" /> <label for="locTo">To</label> <input type="text" name="Filter" id="locTo" /></td>
124 <td colspan="2"><select name="lccndigits" id="lccndigits">
125 <option value=""> </option>
126 <option value ="1">1</option>
127 <option value ="2">2</option>
128 <option value ="3">3</option>
129 <option value ="4">4</option>
130 <option value ="5">5</option>
132 <label for="lccndigits">characters</label>
139 <td>Koha full call number</td>
140 <td><input type="radio" name="Line" value="items.itemcallnumber" /></td>
141 <td><input type="radio" name="Column" value="items.itemcallnumber" /></td>
142 <td><label for="callnoFrom">From</label> <input type="text" name="Filter" id="callnoFrom" /> <label for="callnoTo">To</label> <input type="text" name="Filter" id="callnoTo" /></td>
146 <td colspan="2"><select name="cotedigits" id="cotedigits">
147 <option value=""> </option>
148 <option value ="1">1</option>
149 <option value ="2">2</option>
150 <option value ="3">3</option>
151 <option value ="4">4</option>
152 <option value ="5">5</option>
154 <label for="cotedigits">characters</label>
159 <tr><td colspan="4"><input type="hidden" name="Filter" /> <input type="hidden" name="Filter" /></td></tr>
163 <td><input type="radio" name="Line" value="[% item_itype %]" /></td>
164 <td><input type="radio" name="Column" value="[% item_itype %]" /></td>
165 <td><select name="Filter" id="[% item_itype %]">
166 <option value=""> </option>
167 [% FOREACH itemtype IN itemtypes %]
168 <option value="[% itemtype.itemtype %]">[% itemtype.translated_description %]</option>
175 <td><input type="radio" name="Line" value="publishercode" /></td>
176 <td><input type="radio" name="Column" value="publishercode" /></td>
177 <td><input type="text" name="Filter" /></td>
180 <td>Publication year</td>
181 <td><input type="radio" name="Line" value="publicationyear" /></td>
182 <td><input type="radio" name="Column" value="publicationyear" /></td>
183 <td><label for="pubyearFrom">From</label> <input type="text" name="Filter" id="pubYearFrom" /> <label for="pubyearTo">To</label> <input type="text" name="Filter" id="pubyearTo" /></td>
186 <td>Home library</td>
187 <td><input type="radio" name="Line" value="items.homebranch" /></td>
188 <td><input type="radio" name="Column" value="items.homebranch" /></td>
189 <td><select name="Filter" id="branch">
190 <option value=""> </option>
191 [% FOREACH CGIBranc IN CGIBranch %]
192 [% IF ( CGIBranc.selected ) %]<option value="[% CGIBranc.value %]" selected="selected">[% CGIBranc.branchname %]</option>[% ELSE %]<option value="[% CGIBranc.value %]">[% CGIBranc.branchname %]</option>[% END %]
198 <td>Shelving location</td>
199 <td><input type="radio" name="Line" value="items.location" /></td>
200 <td><input type="radio" name="Column" value="items.location" /></td>
201 <td><select name="Filter" id="location">
202 <option value=""> </option>
203 [% FOREACH locationloo IN locationloop %]
204 [% IF ( locationloo.selected ) %]<option value="[% locationloo.code %]" selected="selected">[% locationloo.description %]</option>[% ELSE %]<option value="[% locationloo.code %]">[% locationloo.description %]</option>[% END %]
211 <td><input type="radio" name="Line" value="items.ccode" /></td>
212 <td><input type="radio" name="Column" value="items.ccode" /></td>
213 <td><select name="Filter" id="ccode">
214 <option value=""> </option>
215 [% FOREACH authval IN authvals %]
216 [% IF ( authval.selected ) %]<option value="[% authval.code %]" selected="selected">[% authval.description %]</option>[% ELSE %]<option value="[% authval.code %]">[% authval.description %]</option>[% END %]
222 <td colspan="3">Filter barcode</td>
224 <select name="Filter" id="like">
225 <option value="1">like</option>
226 <option value="0">not like</option>
228 <input type="text" name="Filter" id="barcode" />
229 (use * to do a fuzzy search)
233 </table><br /></fieldset>
235 <fieldset class="rows">
236 <legend>Output</legend>
237 <ol><li><label for="outputscreen">To screen into the browser: </label><input type="radio" checked="checked" name="output" id="outputscreen" value="screen" /></li>
238 <li><label for="outputfile">To a file: </label><input type="radio" name="output" value="file" id="outputfile" />
239 <label class="inline" for="basename">Named: </label><input type="text" name="basename" id="basename" value="Export" />
240 <label class="inline" for="MIME">Into an application: </label>
241 <select name="MIME" id="MIME">
242 [% FOREACH CGIextChoic IN CGIextChoice %]
243 <option value="[% CGIextChoic.type %]">[% CGIextChoic.type %]</option>
246 <!-- <label class="inline" for="sep">Delimiter: </label> -->
247 <select name="sep" id="sep" size="1">
248 [% FOREACH value IN CGIsepChoice.values.sort() %]
249 [% IF ( value == CGIsepChoice.default ) %]
250 <option value="[% value %]" selected="selected">[% value %]</option>
252 <option value="[% value %]">[% value %]</option>
260 <fieldset class="action">
261 <input type="submit" value="Submit" />
262 <input type="hidden" name="report_name" value="[% report_name %]" />
263 <input type="hidden" name="do_it" value="1" />
270 [% INCLUDE 'reports-menu.inc' %]
273 [% INCLUDE 'intranet-bottom.inc' %]