Manual column filter/sort doesn't work at first time with pre-sorted view
Nobody has claimed this yet.
- Dominant language
- JavaScript
- Stars
- 214
- Forks
- 52
- Avg merge
- 1d 10h
- Merged PRs (30d)
- 82
Description
Steps to reproduce
- Make a new view
- On the settings of this view, set at least one sorting
- Open the pre-sorted view
- Click on the heading of a column
- Selected alphabetic sorting for exemple (works also with filters)
Expected behavior
The view should remove pre-sort options and sort directly with the new column sorting
Actual behavior
The new sort is not working at the first time, and a button appears on the top of the view : "Reset local adjustments"
We have to click on it to reinitialize the pre-sort view options and make manual column sort again.
Tables app version
0.9.0
Browser
Brave Version 1.77.97 Chromium: 135.0.7049.84 (Build officiel) (64 bits)
Client operating system
Linux
Operating system
Ubuntu
Web server
Apache
PHP engine version
PHP 8.3
Database
PostgreSQL
Additional info
No response
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by reproducing the issue in the Tables app with a pre-sorted view, then trace the frontend handling for manual column sorting and the “Reset local adjustments” control. Done means the first manual sort or filter removes the pre-sort options and applies immediately, without requiring a reset.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- javascript
- Domain
- frontend
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Quiet
- Clarity
- Mostly clear
- Newbie friendliness
- 52/100