mirror of
https://github.com/grocy/grocy.git
synced 2025-08-20 12:20:22 +00:00
Fixed /tasks group by category (fixes #1274)
This commit is contained in:
@@ -965,7 +965,7 @@ $(".change-table-columns-visibility-button").on("click", function(e)
|
||||
return;
|
||||
}
|
||||
|
||||
var shadowColumnIndex = $(this.header()).attr("data-shodow-rowgroup-column");
|
||||
var shadowColumnIndex = $(this.header()).attr("data-shadow-rowgroup-column");
|
||||
if (shadowColumnIndex)
|
||||
{
|
||||
index = shadowColumnIndex;
|
||||
|
@@ -3,13 +3,8 @@
|
||||
'columnDefs': [
|
||||
{ 'orderable': false, 'targets': 0 },
|
||||
{ 'searchable': false, "targets": 0 },
|
||||
{ 'visible': false, 'targets': 3 },
|
||||
{ "type": "html", "targets": 2 }
|
||||
].concat($.fn.dataTable.defaults.columnDefs),
|
||||
'rowGroup': {
|
||||
enable: true,
|
||||
dataSrc: 3
|
||||
}
|
||||
].concat($.fn.dataTable.defaults.columnDefs)
|
||||
});
|
||||
$('#tasks-table tbody').removeClass("d-none");
|
||||
tasksTable.columns.adjust().draw();
|
||||
|
Reference in New Issue
Block a user