Skip to content
Snippets Groups Projects
Commit 7d6a6121 authored by Simon Barner's avatar Simon Barner
Browse files

Fix bug: Programmatic filter() was ignored for empty filter expression

* Execute filter() also when the provided String-based filter is empty
* Make getFilterPredicate() private: Subclasses should override
  filter() and getFilterExpression() instead
* Note: Keeping explicit filterValue argument of filter()
   - It is initialized using getFilterExpression() in
     getFilterPredicate())
   - This allows to change the filter expression when filter() invokes
     itself recursively (e.g., when filtering trees)

Issue-Ref: 4071
Issue-Url: https://af3-developer.fortiss.org/issues/4071



Signed-off-by: default avatarSimon Barner <barner@fortiss.org>
parent 14293808
No related branches found
No related tags found
1 merge request!1294071: Model Library Elements are not Filtered by the Selection any more
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment