projects
/
koha_fer
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Bug 12337 - Multi-clicking the renewal buttons on circulation.pl can trigger "renewal...
[koha_fer]
/
koha-tmpl
/
intranet-tmpl
/
prog
/
en
/
modules
/
circ
/
view_holdsqueue.tt
diff --git
a/koha-tmpl/intranet-tmpl/prog/en/modules/circ/view_holdsqueue.tt
b/koha-tmpl/intranet-tmpl/prog/en/modules/circ/view_holdsqueue.tt
index
d9ba8fc
..
cc2a694
100644
(file)
--- a/
koha-tmpl/intranet-tmpl/prog/en/modules/circ/view_holdsqueue.tt
+++ b/
koha-tmpl/intranet-tmpl/prog/en/modules/circ/view_holdsqueue.tt
@@
-1,25
+1,33
@@
+[% USE KohaDates %]
+[% USE ItemTypes %]
+[% USE AuthorisedValues %]
[% INCLUDE 'doc-head-open.inc' %]
[% INCLUDE 'doc-head-open.inc' %]
-<title>Koha › Circulation › Holds
Q
ueue</title>
+<title>Koha › Circulation › Holds
q
ueue</title>
[% INCLUDE 'doc-head-close.inc' %]
<style type="text/css"> p { margin-top: 0; }</style>
</head>
[% INCLUDE 'doc-head-close.inc' %]
<style type="text/css"> p { margin-top: 0; }</style>
</head>
-<body>
+<body
id="circ_view_holdsqueue" class="circ"
>
[% INCLUDE 'header.inc' %]
[% INCLUDE 'cat-search.inc' %]
[% INCLUDE 'header.inc' %]
[% INCLUDE 'cat-search.inc' %]
-
-<script type="text/javascript" src="[% ( themelang ) %]/lib/jquery/plugins/jquery.tablesorter.min.js"></script>
+<link rel="stylesheet" type="text/css" href="[% themelang %]/css/datatables.css" />
+[% INCLUDE 'datatables.inc' %]
<script type="text/javascript">//<![CDATA[
$(document).ready(function() {
<script type="text/javascript">//<![CDATA[
$(document).ready(function() {
- $("#holdst").tablesorter({
- sortList: [[6,0]],
- });
+ $("#holdst").dataTable({
+ "aaSorting": [[ 3, "asc" ]],
+ "aoColumns": [
+ { "sType": "anti-the" },null,null,null,null,null,null,null,null,{ "sType": "title-string" },null
+ ],
+ "sDom": 't',
+ "bPaginate": false
+ });
});
//]]>
</script>
<div id="breadcrumbs"><a href="/cgi-bin/koha/mainpage.pl">Home</a>
› <a href="/cgi-bin/koha/circ/circulation-home.pl">Circulation</a>
});
//]]>
</script>
<div id="breadcrumbs"><a href="/cgi-bin/koha/mainpage.pl">Home</a>
› <a href="/cgi-bin/koha/circ/circulation-home.pl">Circulation</a>
-› <a href="/cgi-bin/koha/circ/view_holdsqueue.pl">Holds
Q
ueue</a>
+› <a href="/cgi-bin/koha/circ/view_holdsqueue.pl">Holds
q
ueue</a>
[% IF ( run_report ) %] › Results[% END %]
</div>
[% IF ( run_report ) %] › Results[% END %]
</div>
@@
-34,7
+42,7
@@
$(document).ready(function() {
[% IF ( run_report ) %]
[% IF ( total ) %]
<div class="results">[% total %] items found for
[% IF ( run_report ) %]
[% IF ( total ) %]
<div class="results">[% total %] items found for
- [% IF ( branch
) %][% branch
%][% ELSE %]ALL libraries[% END %]
+ [% IF ( branch
limit ) %][% branchlimit
%][% ELSE %]ALL libraries[% END %]
</div>
[% ELSE %]
<div class="dialog message">No items found.</div>
</div>
[% ELSE %]
<div class="dialog message">No items found.</div>
@@
-45,12
+53,13
@@
$(document).ready(function() {
<tr>
<th class="hq-title">Title</th>
<th class="hq-collection">Collection</th>
<tr>
<th class="hq-title">Title</th>
<th class="hq-collection">Collection</th>
- <th class="hq-callnumber">Call Number</th>
- <th class="hq-copynumber">Copy Number</th>
+ <th class="hq-itemtype">Item type</th>
+ <th class="hq-callnumber">Call number</th>
+ <th class="hq-copynumber">Copy number</th>
<th class="hq-enumchron">Enumeration</th>
<th class="hq-barcode">Barcode</th>
<th class="hq-patron">Patron</th>
<th class="hq-enumchron">Enumeration</th>
<th class="hq-barcode">Barcode</th>
<th class="hq-patron">Patron</th>
- <th class="hq-sendto">Send
T
o</th>
+ <th class="hq-sendto">Send
t
o</th>
<th class="hq-date">Date</th>
<th class="hq-notes">Notes</th>
</tr>
<th class="hq-date">Date</th>
<th class="hq-notes">Notes</th>
</tr>
@@
-66,7
+75,8
@@
$(document).ready(function() {
[% IF ( itemsloo.size ) %][% itemsloo.size %][% END %] [% IF ( itemsloo.isbn ) %]ISBN: [% itemsloo.isbn %][% END %]</p>
</div>
</td>
[% IF ( itemsloo.size ) %][% itemsloo.size %][% END %] [% IF ( itemsloo.isbn ) %]ISBN: [% itemsloo.isbn %][% END %]</p>
</div>
</td>
- <td class="hq-collection">[% itemsloo.ccode %]</td>
+ <td class="hq-collection">[% AuthorisedValues.GetByCode( 'CCODE', itemsloo.ccode ) %]</td>
+ <td class="hq-itemtype">[% ItemTypes.GetDescription( itemsloo.itype ) %]</td>
<td class="hq-callnumber">[% itemsloo.location %] [% itemsloo.itemcallnumber %]</td>
<td class="hq-copynumber">[% itemsloo.copynumber %]</td>
<td class="hq-enumchron">[% itemsloo.enumchron %]</td>
<td class="hq-callnumber">[% itemsloo.location %] [% itemsloo.itemcallnumber %]</td>
<td class="hq-copynumber">[% itemsloo.copynumber %]</td>
<td class="hq-enumchron">[% itemsloo.enumchron %]</td>
@@
-79,7
+89,7
@@
$(document).ready(function() {
</td>
<td class="hq-patron"><p><a href="/cgi-bin/koha/circ/circulation.pl?findborrower=[% itemsloo.cardnumber %]#reserves">[% itemsloo.surname %], [% itemsloo.firstname %] ([% itemsloo.cardnumber %])</a></p> <p>[% itemsloo.phone %]</p></td>
<td class="hq-sendto">[% itemsloo.pickbranch %]</td>
</td>
<td class="hq-patron"><p><a href="/cgi-bin/koha/circ/circulation.pl?findborrower=[% itemsloo.cardnumber %]#reserves">[% itemsloo.surname %], [% itemsloo.firstname %] ([% itemsloo.cardnumber %])</a></p> <p>[% itemsloo.phone %]</p></td>
<td class="hq-sendto">[% itemsloo.pickbranch %]</td>
- <td class="hq-date">
[% itemsloo.reservedate %]
</td>
+ <td class="hq-date">
<span title="[% itemsloo.reservedate %]">[% itemsloo.reservedate | $KohaDates %]</span>
</td>
<td class="hq-notes">[% itemsloo.notes %]</td>
</tr>
[% END %]</tbody>
<td class="hq-notes">[% itemsloo.notes %]</td>
</tr>
[% END %]</tbody>