Lines 4-9
$(document).ready(function() {
Link Here
|
4 |
$("#holds-tab").click( function() { |
4 |
$("#holds-tab").click( function() { |
5 |
if ( ! holdsTable ) { |
5 |
if ( ! holdsTable ) { |
6 |
holdsTable = $("#holds-table").dataTable({ |
6 |
holdsTable = $("#holds-table").dataTable({ |
|
|
7 |
"bAutoWidth": false, |
7 |
"sDom": "<'row-fluid'<'span6'><'span6'>r>t<'row-fluid'>t", |
8 |
"sDom": "<'row-fluid'<'span6'><'span6'>r>t<'row-fluid'>t", |
8 |
"aoColumns": [ |
9 |
"aoColumns": [ |
9 |
{ |
10 |
{ |
Lines 11-17
$(document).ready(function() {
Link Here
|
11 |
}, |
12 |
}, |
12 |
{ |
13 |
{ |
13 |
"mDataProp": function ( oObj ) { |
14 |
"mDataProp": function ( oObj ) { |
14 |
title = "<a href='/cgi-bin/koha/catalogue/detail.pl?biblionumber=" |
15 |
title = "<a href='/cgi-bin/koha/reserve/request.pl?biblionumber=" |
15 |
+ oObj.biblionumber |
16 |
+ oObj.biblionumber |
16 |
+ "'>" |
17 |
+ "'>" |
17 |
+ oObj.title; |
18 |
+ oObj.title; |
Lines 34-50
$(document).ready(function() {
Link Here
|
34 |
title += " - <span class='" + span_class + "'>" + oObj.itemnotes + "</span>" |
35 |
title += " - <span class='" + span_class + "'>" + oObj.itemnotes + "</span>" |
35 |
} |
36 |
} |
36 |
|
37 |
|
37 |
title += " " |
|
|
38 |
+ "<a href='/cgi-bin/koha/catalogue/moredetail.pl?biblionumber=" |
39 |
+ oObj.biblionumber |
40 |
+ "&itemnumber=" |
41 |
+ oObj.itemnumber |
42 |
+ "#" |
43 |
+ oObj.itemnumber |
44 |
+ "'>" |
45 |
+ oObj.barcode |
46 |
+ "</a>"; |
47 |
|
48 |
return title; |
38 |
return title; |
49 |
} |
39 |
} |
50 |
}, |
40 |
}, |
Lines 74-86
$(document).ready(function() {
Link Here
|
74 |
data += " " + AT + " " + oObj.waiting_at; |
64 |
data += " " + AT + " " + oObj.waiting_at; |
75 |
} |
65 |
} |
76 |
} else if ( oObj.transferred ) { |
66 |
} else if ( oObj.transferred ) { |
77 |
data += ITEM_IS + " <strong> " + IN_TRANSIT + " </strong> " + FROM + oObj.from_branch; |
67 |
data += ITEM_IS + " <strong> " + IN_TRANSIT + " </strong> " + FROM + " " + oObj.from_branch; |
78 |
} else if ( oObj.not_transferred ) { |
68 |
} else if ( oObj.not_transferred ) { |
79 |
data += NOT_TRANSFERRED_YET + " " + oObj.not_transferred_by; |
69 |
data += NOT_TRANSFERRED_YET + " " + oObj.not_transferred_by; |
80 |
} data += "</em>"; |
70 |
} data += "</em>"; |
81 |
|
71 |
|
82 |
data += " <a href='/cgi-bin/koha/catalogue/detail.pl?biblionumber=" |
72 |
data += " <a href='/cgi-bin/koha/catalogue/detail.pl?biblionumber=" |
83 |
+ oObj.biblionumber + "'>" + oObj.barcode + "</a>"; |
73 |
+ oObj.biblionumber |
|
|
74 |
+ "&itemnumber=" |
75 |
+ oObj.itemnumber |
76 |
+ "#" |
77 |
+ oObj.itemnumber |
78 |
+ "'>" |
79 |
+ oObj.barcode |
80 |
+ "</a>"; |
84 |
} |
81 |
} |
85 |
|
82 |
|
86 |
return data; |
83 |
return data; |
Lines 97-102
$(document).ready(function() {
Link Here
|
97 |
} |
94 |
} |
98 |
}, |
95 |
}, |
99 |
{ |
96 |
{ |
|
|
97 |
"bSortable": false, |
100 |
"mDataProp": function( oObj ) { |
98 |
"mDataProp": function( oObj ) { |
101 |
return "<select name='rank-request'>" |
99 |
return "<select name='rank-request'>" |
102 |
+ "<option value='n'>" + NO + "</option>" |
100 |
+ "<option value='n'>" + NO + "</option>" |