3 [% USE AuthorisedValues %]
5 [% INCLUDE 'doc-head-open.inc' %]
6 <title>[% IF ( LibraryNameTitle ) %][% LibraryNameTitle %][% ELSE %]Koha online[% END %] catalog › Most popular titles</title>
7 [% INCLUDE 'doc-head-close.inc' %]
10 #search-facets fieldset { border: 0; margin: 0;padding:.3em;}#search-facets ol{padding:.3em;}#search-facets li {list-style-type:none;padding:4px 4px;}#search-facets label{font-weight:bold;display:block;margin:.2em 0;}#search-facets fieldset.action {padding-left:4px;margin:.3em;};
14 [% INCLUDE 'bodytag.inc' bodyid='opac-topissues' bodyclass='scrollto' %]
15 [% INCLUDE 'masthead.inc' %]
18 <ul class="breadcrumb">
19 <li><a href="/cgi-bin/koha/opac-main.pl">Home</a> <span class="divider">›</span></li>
20 <li><a href="#">Most popular titles</a></li>
23 <div class="container-fluid">
24 <div class="row-fluid">
26 <div id="usertopissues">
27 [% INCLUDE 'opac-topissues.inc' %]
28 [% IF ( OpacNav || OpacNavBottom ) %]
29 [% INCLUDE 'navigation.inc' %]
34 <div id="topissues" class="maincontent">
37 <table id="topissuest" class="table table-bordered table-striped">
39 The [% limit %] most checked-out
40 [% IF selected_itemtype %]
41 [% ItemTypes.GetDescription(selected_itemtype) %]
45 [% Branches.GetName( branch ) %]
47 [% IF ( timeLimit != 999 ) %]
48 in the past [% timeLimit |html %] months
49 [% ELSE %] of all time[% END %]
54 <th>[% IF ( ccodesearch ) %]Collection[% ELSE %]Item type[% END %]</th>
56 [% IF Koha.Preference( 'opacuserlogin' ) == 1 %]<th> </th>[% END %]
60 [% FOREACH result IN results %]
62 <td><a class="title" href="/cgi-bin/koha/opac-detail.pl?biblionumber=[% result.biblionumber %]">[% result.title |html %]</a><p>[% result.author %]
63 [% IF ( result.publishercode ) %]- [% result.publishercode %][% END %]
64 [% IF ( result.place ) %][% result.place %][% END %]
65 [% IF ( result.publicationyear ) %]
66 [% result.publicationyear %]
67 [% ELSIF ( result.copyrightdate ) %]
68 [% result.copyrightdate %]
70 [% IF ( result.pages ) %] - [% result.pages %][% END %]
71 [% IF ( result.item('size') ) %][% result.item('size') %][% END %]</p>
74 [% IF Koha.Preference('AdvancedSearchTypes') == 'ccode' %]
75 <span class="tdlabel">Collection</span>
76 [% AuthorisedValues.GetByCode('ccode', result.ccode, 1) %]
78 <span class="tdlabel">Item type</span>
79 [% ItemTypes.GetDescription(result.itemtype) %]
82 <td><span class="tdlabel">Checkouts: </span> <span title="[% result.count %]">[% result.count %]</span></td>
83 [% IF Koha.Preference( 'opacuserlogin' ) == 1 %]<td>[% IF Koha.Preference( 'RequestOnOpac' ) == 1 %][% UNLESS ( result.norequests ) %]<a href="/cgi-bin/koha/opac-reserve.pl?biblionumber=[% result.biblionumber %]">Place hold</a>[% END %][% END %]</td>[% END %]
89 No results, try to change filters.
90 [% END # / IF results %]
91 </div> <!-- / #topissues -->
92 </div> <!-- / .span10 -->
93 </div> <!-- / .row-fluid -->
94 </div> <!-- / .container-fluid -->
95 </div> <!-- / .main -->
97 [% INCLUDE 'opac-bottom.inc' %]
99 [% INCLUDE 'datatables.inc' %]
100 <script type="text/javascript">
103 $("#topissuest").dataTable($.extend(true, {}, dataTablesDefaults, {
104 "aaSorting": [ [2, "desc"], [0, "asc"] ],
106 [% IF ( opacuserlogin ) %]{ "aTargets": [ -1 ], "bSortable": false, "bSearchable": false }[% END %]
109 { "sType": "anti-the" },
111 { "sType": "title-numeric" },
112 [% IF ( opacuserlogin ) %]null,[% END %]
116 function Dopop(link) {
117 newin=window.open(link,'width=500,height=400,toolbar=false,scrollbars=yes');