@@ -, +, @@ no checkouts' for 'By:'. Verify the headings on the tables are not nice. * Headings should be "Ungrouped, item type or library descriptions * Summary table also shows item type and library descriptions --- .../prog/en/modules/reports/catalogue_out.tt | 31 +++++++++++++++---- 1 file changed, 25 insertions(+), 6 deletions(-) --- a/koha-tmpl/intranet-tmpl/prog/en/modules/reports/catalogue_out.tt +++ a/koha-tmpl/intranet-tmpl/prog/en/modules/reports/catalogue_out.tt @@ -1,4 +1,5 @@ [% USE Branches %] +[% USE ItemTypes %] [% INCLUDE 'doc-head-open.inc' %] Items with no checkouts › Reports › Koha [% INCLUDE 'doc-head-close.inc' %] @@ -45,9 +46,16 @@ [% ELSE %]

[% END %] - [% IF ( loopfilte.sql ) %][% END %] - [% loopfilte.crit | html %] = [% loopfilte.filter | html %] - [% IF ( loopfilte.sql ) %][% END %] + [% IF ( loopfilte.sql ) %] + + [% loopfilte.crit | html %] = [% loopfilte.filter | html %] + + [% ELSE %] + [% loopfilte.crit | html %] = [% loopfilte.filter | html %] + [% IF ( loopfilte.crit == "by" ) %] + [% group_by = loopfilte.filter %] + [% END %] + [% END %]

[% END %] [% END %] @@ -65,7 +73,13 @@ [% FOREACH looptable IN mainloo.looptables %] - [% looptable.coltitle | html %] + [% IF ( group_by=="itype" ) %] + [% ItemTypes.GetDescription( looptable.coltitle ) | html %] + [% ELSIF ( group_by=="homebranch" ) %] + [% Branches.GetName( looptable.coltitle ) | html %] + [% ELSE %] + [% looptable.coltitle | html %] + [% END %] [% IF ( looptable.looptable_count ) %] @@ -89,8 +103,13 @@ [% FOREACH looptable IN mainloo.looptables %]

- - [% looptable.coltitle | html %] + [% IF ( group_by=="itype" ) %] + [% ItemTypes.GetDescription( looptable.coltitle ) | html %] + [% ELSIF ( group_by=="homebranch" ) %] + [% Branches.GetName( looptable.coltitle ) | html %] + [% ELSE %] + Ungrouped + [% END %]

--