Lines 447-453
Link Here
|
447 |
"searching": false, |
447 |
"searching": false, |
448 |
"processing": true, |
448 |
"processing": true, |
449 |
"serverSide": true, |
449 |
"serverSide": true, |
450 |
"ajax": 'batch_records_ajax.pl', |
450 |
ajax: { |
|
|
451 |
url: "batch_records_ajax.pl", |
452 |
type: "POST", |
453 |
data: function ( d ) { |
454 |
d.import_batch_id = [% import_batch_id | html %]; |
455 |
return d; |
456 |
}, |
457 |
}, |
451 |
"pagingType": "full_numbers", |
458 |
"pagingType": "full_numbers", |
452 |
"dom": '<"top pager"iflp>rt<"bottom pager"flp><"clear">', |
459 |
"dom": '<"top pager"iflp>rt<"bottom pager"flp><"clear">', |
453 |
"columns": [ |
460 |
"columns": [ |
Lines 459-477
Link Here
|
459 |
{ "data": null, "defaultContent": "" }, |
466 |
{ "data": null, "defaultContent": "" }, |
460 |
{ "data": "matched" } |
467 |
{ "data": "matched" } |
461 |
], |
468 |
], |
462 |
"fnServerData": function(sSource, aoData, fnCallback) { |
|
|
463 |
aoData.push({ "name": "import_batch_id", "value": [% import_batch_id | html %] }); |
464 |
|
465 |
$.ajax({ |
466 |
'dataType': 'json', |
467 |
'type': 'POST', |
468 |
'url': sSource, |
469 |
'data': aoData, |
470 |
'success': function(json) { |
471 |
fnCallback(json); |
472 |
} |
473 |
}); |
474 |
}, |
475 |
"rowCallback": function(nRow, aData, iDisplayIndex, iDisplayIndexFull) { |
469 |
"rowCallback": function(nRow, aData, iDisplayIndex, iDisplayIndexFull) { |
476 |
[% IF(record_type == 'auth') %] |
470 |
[% IF(record_type == 'auth') %] |
477 |
var record_details_url = "/cgi-bin/koha/authorities/detail.pl?authid="; |
471 |
var record_details_url = "/cgi-bin/koha/authorities/detail.pl?authid="; |