@@ -, +, @@ catalog statistics report - Submit a query to the "catalog" statistics wizard which will return multiple results. - On the results page, confirm that the DataTable displays correctly and that all controls work as expected, including column configuration and export options. - Submit other queries which will return a different set of columns in the result. Confirm that everything continues to work as expected. --- .../prog/en/modules/reports/catalogue_stats.tt | 57 ++++++++++++++++++---- 1 file changed, 48 insertions(+), 9 deletions(-) --- a/koha-tmpl/intranet-tmpl/prog/en/modules/reports/catalogue_stats.tt +++ a/koha-tmpl/intranet-tmpl/prog/en/modules/reports/catalogue_stats.tt @@ -1,4 +1,5 @@ [% USE Branches %] +[% USE TablesSettings %] [% SET footerjs = 1 %] [% INCLUDE 'doc-head-open.inc' %] Koha › Reports [% IF ( do_it ) %]› Catalog statistics › Results[% ELSE %]› Catalog statistics[% END %] @@ -26,14 +27,17 @@ [% END %] [% END %] - - - - [% FOREACH loopco IN mainloo.loopcol %] - - [% END %] - - +
[% mainloo.line | html %] / [% mainloo.column | html %][% loopco.coltitle | html %]TOTAL
+ + + + [% FOREACH loopco IN mainloo.loopcol %] + + [% END %] + + + + [% FOREACH loopro IN mainloo.looprow %] [% IF ( loopro.hilighted ) %] [% END %] + + - + [% FOREACH loopfoote IN mainloo.loopfooter %] +
[% mainloo.line | html %] / [% mainloo.column | html %][% loopco.coltitle | html %]TOTAL
[% ELSE %][% END %] @@ -50,8 +54,10 @@
TOTALTOTAL (all results) [% loopfoote.totalcol | html %] @@ -59,6 +65,7 @@ [% END %] [% mainloo.total | html %]
[% END %] [% ELSE %] @@ -303,6 +310,8 @@ [% MACRO jsinclude BLOCK %] [% INCLUDE 'calendar.inc' %] + [% INCLUDE 'datatables.inc' %] + [% INCLUDE 'columns_settings.inc' %] [% END %] --