[% USE Koha %] [% USE Branches %] [% USE AuthorisedValues %] [% USE ItemTypes %] [% USE AdditionalContents %] [% SET OpacNav = AdditionalContents.get( location => "OpacNav", lang => lang, library => logged_in_user.branchcode, blocktitle => 0 ) %] [% SET OpacNavBottom = AdditionalContents.get( location => "OpacNavBottom", lang => lang, library => logged_in_user.branchcode, blocktitle => 0 ) %] [% INCLUDE 'doc-head-open.inc' %] Most popular titles › [% IF ( LibraryNameTitle ) %][% LibraryNameTitle | html %][% ELSE %]Koha online[% END %] catalog [% INCLUDE 'doc-head-close.inc' %] [% BLOCK cssinclude %] [% END %] [% INCLUDE 'bodytag.inc' bodyid='opac-topissues' bodyclass='scrollto' %] [% INCLUDE 'masthead.inc' %]
[% INCLUDE 'opac-topissues.inc' %] [% IF ( OpacNav || OpacNavBottom ) %] [% INCLUDE 'navigation.inc' %] [% END %]

Top issues

[% IF ( results ) %] [% IF Koha.Preference( 'opacuserlogin' ) == 1 %] [% END %] [% FOREACH result IN results %] [% IF Koha.Preference( 'opacuserlogin' ) == 1 %] [% END %] [% END %]
The [% limit | html %] most checked-out [% IF selected_itemtype %] [% ItemTypes.GetDescription(selected_itemtype) | html %] [% END %] [% IF ( branch ) %] at [% Branches.GetName( branch ) | html %] [% END %] [% IF ( timeLimit != 999 ) %] in the past [% timeLimitFinite | html %] months [% ELSE %] of all time [% END %]
Title [% IF ( ccodesearch ) %]Collection[% ELSE %]Item type[% END %] Checkouts 
[% result.title | html %]

[% result.author | html %] [% IF ( result.publishercode ) %]- [% result.publishercode | html %][% END %] [% IF ( result.place ) %][% result.place | html %][% END %] [% IF ( result.publicationyear ) %] [% result.publicationyear | html %] [% ELSIF ( result.copyrightdate ) %] [% result.copyrightdate | html %] [% END %] [% IF ( result.pages ) %] - [% result.pages | html %][% END %] [% IF ( result.item('size') ) %][% result.item('size') | html %][% END %]

[% IF Koha.Preference('AdvancedSearchTypes') == 'ccode' %] Collection [% AuthorisedValues.GetByCode('ccode', result.ccode, 1) | html %] [% ELSE %] Item type [% ItemTypes.GetDescription(result.itemtype) | html %] [% END %] Checkouts: [% result.count | html %] [% IF Koha.Preference( 'OPACHoldRequests' ) == 1 %] [% UNLESS ( result.norequests ) %] Place hold [% END %] [% END %]
[% ELSE %] No results, try to change filters. [% END # / IF results %]
[% INCLUDE 'opac-bottom.inc' %] [% BLOCK jsinclude %] [% INCLUDE 'datatables.inc' %] [% END %]