Skip to content

fix: recursive sort-call for treetable in multisort-mode with custom sort function#19471

Open
ADegele wants to merge 1 commit into
primefaces:masterfrom
ADegele:treetable-custom-multisort
Open

fix: recursive sort-call for treetable in multisort-mode with custom sort function#19471
ADegele wants to merge 1 commit into
primefaces:masterfrom
ADegele:treetable-custom-multisort

Conversation

@ADegele
Copy link
Copy Markdown

@ADegele ADegele commented Mar 10, 2026

I've noticed that the custom-sort-function in treetable is supposed to be called for each node and children, but because of a wrong variable reference the sort function is called multiple times for the same input. This PR fixes that.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant