mirror of
https://github.com/moghtech/komodo.git
synced 2026-05-06 00:18:38 -05:00
[PR #832] [MERGED] Fix persistent table sorting state including unsorted #6828
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/moghtech/komodo/pull/832
Author: @MP-Tool
Created: 9/10/2025
Status: ✅ Merged
Merged: 9/10/2025
Merged by: @mbecker20
Base:
1.19.4← Head:feat/persistent-stacks-sorting📝 Commits (1)
f103cc2feat: persist all table sorting states including unsorted📊 Changes
1 file changed (+1 additions, -3 deletions)
View changed files
📝
frontend/src/ui/data-table.tsx(+1 -3)📄 Description
Problem
Stack sorting preferences do not persist across page reloads. When a user sorts stacks alphabetically or reverse-alphabetically and then switches back to unsorted and navigates away or reloads the page, the sorting is lost. More specifically, when the table is in "unsorted" state (showing "-" in column header), it incorrectly reverts to the previous sorted state (e.g., reverse-alphabetical) after page reload.
Solution
[]) for "unsorted" state instead of skipping itFixes #816
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.