Bug 27251: Fix sort by displayed_on

Signed-off-by: Katrin Fischer <katrin.fischer.83@web.de>

Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
This commit is contained in:
Jonathan Druart 2021-01-18 11:14:09 +01:00
parent 0e16ad052b
commit 0259ae949b

View file

@ -178,7 +178,8 @@
"orderable": true
},
{
"data": function( row, type, val, meta ) {
"data": "displayed_on",
"render": function(data, type, row, meta) {
return $datetime(row.displayed_on);
},
"searchable": true,