Closed roman-1983 closed 1 year ago
Instead of giving priority to the saved state the script currently merges state and api.state() which leads to mixed up ordering.
state
api.state()
Example
Default sort order: Column 1, Column 3 DESC User sort order: Column 2 DESC
IS Sort order after merging
Should Sort order after merging
As the user sort order should have priority.
I will take care of this and send a PR.
Instead of giving priority to the saved state the script currently merges
state
andapi.state()
which leads to mixed up ordering.Example
Default sort order: Column 1, Column 3 DESC User sort order: Column 2 DESC
IS Sort order after merging
Should Sort order after merging
As the user sort order should have priority.