- Issue created by @mkalkbrenner
- Status changed to Needs review
almost 2 years ago 3:03pm 7 March 2023
The form option #allow takes a list of terms that are used to filter the terms to be displayed.
But instead of just filtering the term tree, the terms get sorted according to the filter list.
BTW the responsible code seems to outdated. The $filter variable is treated as string, but the calling code treats it as boolean.
That leads into the wrong path of the if else statement. The code could be simplified.
Keep the order of the tree and just filter it.
The term list keeps its order (bugfix)
none
none
Needs review
2.0
Code