Added info ordering into historical view (#6587)

This commit is contained in:
MatteoBiscosi 2022-05-11 14:47:04 +02:00
parent 86899d42f7
commit 7e9b3579c5

View file

@ -1683,7 +1683,7 @@ local all_datatable_js_columns_by_tag = {
order = 25,
visible_by_default = true,
js = [[
{name: 'info', responsivePriority: 2, data: 'info', orderable: false, render: (info, type) => {
{name: 'info', responsivePriority: 2, data: 'info', orderable: true, render: (info, type) => {
if (type !== 'display') return info;
if (info !== undefined)
return `<a class='tag-filter' data-tag-value='${info.title}' title='${info.title}' href='#'>${info.label}</a>`;