Lines 940-946
$(document).ready(function() {
Link Here
|
940 |
"mDataProp": function ( oObj ) { |
940 |
"mDataProp": function ( oObj ) { |
941 |
if ( ! oObj.resolution ) return ""; |
941 |
if ( ! oObj.resolution ) return ""; |
942 |
|
942 |
|
943 |
let desc = '<strong>' + oObj.resolution_data.lib + '</strong> on <i>' + oObj.resolved_on + '</i>'; |
943 |
let resolved_on = new Date( oObj.resolved_on ); |
|
|
944 |
let desc = '<strong>' + oObj.resolution_data.lib + '</strong> on <i>' + resolved_on.toLocaleDateString() + '</i>'; |
944 |
if (oObj.resolved_by_data) desc += ' by <a href="/cgi-bin/koha/circ/circulation.pl?borrowernumber=' + oObj.resolved_by_data.borrowernumber + '">' + ( oObj.resolved_by_data.firstname || "" ) + ( oObj.resolved_by_data.surname || "" ) + '</a>'; |
945 |
if (oObj.resolved_by_data) desc += ' by <a href="/cgi-bin/koha/circ/circulation.pl?borrowernumber=' + oObj.resolved_by_data.borrowernumber + '">' + ( oObj.resolved_by_data.firstname || "" ) + ( oObj.resolved_by_data.surname || "" ) + '</a>'; |
945 |
return desc; |
946 |
return desc; |
946 |
} |
947 |
} |
947 |
- |
|
|