actualbudget / actualbudget/actual
[Bug]: Sorting descending by date causes entries to disappear
- Vorherrschende Sprache
- TypeScript
- Sterne
- 28.8k
- Forks
- 3k
- Ø Merge
- 2 T. 11 Std.
- Gemergte PRs (30 T.)
- 65
Beschreibung
### What happened?
Client version: v26.7.0
Server version: v26.7.0
I like to have entries in an account sorted descending by date.
I expected that whenever I clicked on the date column to sort descending, they would change from ascending to descending while showing me the needed data.
When I did this, all entries in the budget account disappeared.
No error messages.
### How can we reproduce the issue?
1. Go to an On Budget account
2. Click the date column, it will probably have the arrow up or blank (no arrow).
3. Click on the date column until the arrow is down.
4. Entries will disappear.
### Where are you hosting Actual?
Docker
### What browsers are you seeing the problem on?
Firefox
### Operating System
Linux
Beitragsleitfaden
Rechercherichtung
Reproduce in an On Budget account by clicking the date column until the order is descending and confirming entries disappear. Then trace the client-side date-sorting path for that table (sort direction state and comparator logic) from where the date header click is handled. Verify completion by rerunning the same flow and checking that descending shows the same entries, only reordered.
Vom Indexierungsmodell aus dem Issue-Text verfasst.
Bewertung
- Tech-Stack
- typescript
- Bereich
- frontend
- Issue-Typ
- Bug
- Schwierigkeit
- 2/5
- Geschätzter Aufwand
- 1-3 Stunden
- Aktivitätsstatus
- Ruhig
- Klarheit
- Größtenteils klar
- Anfängerfreundlichkeit
- 70/100