From 85d4173766d231a45ed124b618771533a2e4addf Mon Sep 17 00:00:00 2001 From: Jonathan Druart Date: Mon, 18 Jan 2021 11:14:09 +0100 Subject: [PATCH] Bug 27251: Fix sort by displayed_on Signed-off-by: Katrin Fischer --- koha-tmpl/intranet-tmpl/prog/en/modules/tools/quotes.tt | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/tools/quotes.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/tools/quotes.tt index da6b6b6a50..136ba3735a 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/tools/quotes.tt +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/tools/quotes.tt @@ -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, -- 2.11.0