3 [% USE AuthorisedValues %]
5 [% INCLUDE 'doc-head-open.inc' %]
6 <title>Most popular titles › [% IF ( LibraryNameTitle ) %][% LibraryNameTitle | html %][% ELSE %]Koha online[% END %] catalogMost popular titles</title>
7 [% INCLUDE 'doc-head-close.inc' %]
10 #search-facets fieldset {
19 list-style-type: none;
27 #search-facets fieldset.action {
31 #search-facets select {
37 [% INCLUDE 'bodytag.inc' bodyid='opac-topissues' bodyclass='scrollto' %]
38 [% INCLUDE 'masthead.inc' %]
41 <nav aria-label="breadcrumb">
42 <ul class="breadcrumb">
43 <li class="breadcrumb-item">
44 <a href="/cgi-bin/koha/opac-main.pl">Home</a>
46 <li class="breadcrumb-item active" aria-current="page">
47 <a href="#">Most popular titles</a>
52 <div class="container-fluid">
54 <div class="col-lg-2">
55 <div id="usertopissues">
56 [% INCLUDE 'opac-topissues.inc' %]
57 [% IF ( OpacNav || OpacNavBottom ) %]
58 [% INCLUDE 'navigation.inc' %]
62 <div class="col-10 order-first order-md-first order-lg-2">
63 <div id="topissues" class="maincontent">
66 <table id="topissuest" class="table table-bordered table-striped">
68 The [% limit | html %] most checked-out
69 [% IF selected_itemtype %]
70 [% ItemTypes.GetDescription(selected_itemtype) | html %]
74 [% Branches.GetName( branch ) | html %]
76 [% IF ( timeLimit != 999 ) %]
77 in the past [% timeLimitFinite | html %] months
84 <th class="anti-the">Title</th>
85 <th>[% IF ( ccodesearch ) %]Collection[% ELSE %]Item type[% END %]</th>
86 <th class="title-num">Checkouts</th>
87 [% IF Koha.Preference( 'opacuserlogin' ) == 1 %]
88 <th class="NoSort"> </th>
93 [% FOREACH result IN results %]
96 <a class="title" href="/cgi-bin/koha/opac-detail.pl?biblionumber=[% result.biblionumber | html %]">[% result.title | html %]</a><p>[% result.author | html %]
97 [% IF ( result.publishercode ) %]- [% result.publishercode | html %][% END %]
98 [% IF ( result.place ) %][% result.place | html %][% END %]
99 [% IF ( result.publicationyear ) %]
100 [% result.publicationyear | html %]
101 [% ELSIF ( result.copyrightdate ) %]
102 [% result.copyrightdate | html %]
104 [% IF ( result.pages ) %] - [% result.pages | html %][% END %]
105 [% IF ( result.item('size') ) %][% result.item('size') | html %][% END %]</p>
108 [% IF Koha.Preference('AdvancedSearchTypes') == 'ccode' %]
109 <span class="tdlabel">Collection</span>
110 [% AuthorisedValues.GetByCode('ccode', result.ccode, 1) | html %]
112 <span class="tdlabel">Item type</span>
113 [% ItemTypes.GetDescription(result.itemtype) | html %]
117 <span class="tdlabel">Checkouts: </span>
118 <span title="[% result.count | html %]">[% result.count | html %]</span>
120 [% IF Koha.Preference( 'opacuserlogin' ) == 1 %]
122 [% IF Koha.Preference( 'RequestOnOpac' ) == 1 %]
123 [% UNLESS ( result.norequests ) %]
124 <a class="btn btn-link btn-sm hold" href="/cgi-bin/koha/opac-reserve.pl?biblionumber=[% result.biblionumber | uri %]"><i class="fa fa-fw fa-bookmark" aria-hidden="true"></i> Place hold</a>
134 No results, try to change filters.
135 [% END # / IF results %]
136 </div> <!-- / #topissues -->
137 </div> <!-- / .col-lg-10 -->
138 </div> <!-- / .row -->
139 </div> <!-- / .container-fluid -->
140 </div> <!-- / .main -->
142 [% INCLUDE 'opac-bottom.inc' %]
143 [% BLOCK jsinclude %]
144 [% INCLUDE 'datatables.inc' %]
147 $("#topissuest").dataTable($.extend(true, {}, dataTablesDefaults, {
148 "sorting": [[2, "desc"]],
150 { "sortable": false, "searchable": false, 'targets': [ 'NoSort' ] },
151 { "type": "anti-the", "targets" : [ "anti-the" ] },
152 { "type": "title-numeric", "targets" : [ "title-num"] },
156 function Dopop(link) {
157 newin=window.open(link,'width=500,height=400,toolbar=false,scrollbars=yes');