|
Lines 31-40
$(document).ready(function() {
Link Here
|
| 31 |
prep: function(tableData, oData) { |
31 |
prep: function(tableData, oData) { |
| 32 |
var uniques = {}; |
32 |
var uniques = {}; |
| 33 |
tableData.forEach(function(row) { |
33 |
tableData.forEach(function(row) { |
| 34 |
var resolvedName = getStatusName( |
34 |
var resolvedName; |
| 35 |
oData[0].capabilities[row.status].name, |
35 |
if (row.status_alias) { |
| 36 |
row |
36 |
resolvedName = row.status_alias.lib; |
| 37 |
); |
37 |
} else { |
|
|
38 |
resolvedName = getStatusName( |
| 39 |
oData[0].capabilities[row.status].name |
| 40 |
); |
| 41 |
} |
| 38 |
uniques[resolvedName] = 1 |
42 |
uniques[resolvedName] = 1 |
| 39 |
}); |
43 |
}); |
| 40 |
Object.keys(uniques).sort().forEach(function(unique) { |
44 |
Object.keys(uniques).sort().forEach(function(unique) { |
|
Lines 266-272
$(document).ready(function() {
Link Here
|
| 266 |
action: { |
270 |
action: { |
| 267 |
func: createActionLink |
271 |
func: createActionLink |
| 268 |
}, |
272 |
}, |
| 269 |
patron: { |
273 |
borrowernumber: { |
| 270 |
func: createPatronLink |
274 |
func: createPatronLink |
| 271 |
}, |
275 |
}, |
| 272 |
illrequest_id: { |
276 |
illrequest_id: { |
|
Lines 286-292
$(document).ready(function() {
Link Here
|
| 286 |
name: _("Updated on"), |
290 |
name: _("Updated on"), |
| 287 |
}, |
291 |
}, |
| 288 |
patron_cardnumber: { |
292 |
patron_cardnumber: { |
| 289 |
name: _("Patron barcode") |
293 |
name: _("Cardnumber") |
| 290 |
} |
294 |
} |
| 291 |
}; |
295 |
}; |
| 292 |
|
296 |
|
|
Lines 397-402
$(document).ready(function() {
Link Here
|
| 397 |
// unformatted column |
401 |
// unformatted column |
| 398 |
'aTargets': [ 'updated_formatted'], |
402 |
'aTargets': [ 'updated_formatted'], |
| 399 |
'iDataSort': 18 |
403 |
'iDataSort': 18 |
|
|
404 |
}, |
| 405 |
{ |
| 406 |
'aTargets': [ 'patron_cardnumber' ], |
| 407 |
'bVisible': false, |
| 408 |
'bSearchable': true |
| 400 |
} |
409 |
} |
| 401 |
], |
410 |
], |
| 402 |
'aaSorting': [[ 18, 'desc' ]], // Default sort, updated descending |
411 |
'aaSorting': [[ 18, 'desc' ]], // Default sort, updated descending |
| 403 |
- |
|
|