From 0259ae949b6c471f149314f0f516d9d9e8823c42 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 Signed-off-by: Jonathan Druart --- 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.39.5