Skip to content

OpenProject is the leading open source project management software for product, project and portfolio management. A powerful Jira alternative with agile planning, issue tracking, roadmaps, Gantt charts, time tracking, collaboration features, and more. Available on premises or in the cloud. ⭐ Star us on GitHub

[34432] Save the tablesorter sort options in session

Oliver Güntherf867be6c5ff1
diff --git a/frontend/src/app/modules/reporting/reporting-page/functionality/tablesorter.ts b/frontend/src/app/modules/reporting/reporting-page/functionality/tablesorter.ts
index 548a4d35d3e..51eb2f45c89 100644
--- a/frontend/src/app/modules/reporting/reporting-page/functionality/tablesorter.ts
+++ b/frontend/src/app/modules/reporting/reporting-page/functionality/tablesorter.ts
@@ -26,6 +26,10 @@ function initTableSorter() {
.not('.tablesorter')
.tablesorter({
sortList: [[0, 0]],
+ widgets: ['saveSort'],
+ widgetOptions: {
+ storage_storageType: 's'
+ },
textExtraction: function (node:HTMLElement, table:any, cellIndex:any) {
return node.getAttribute('raw-data');
}