We already make a good use of the addFoundSetFilterParam() function, which saves us lots of time. But has the major limitation of being ‘session wide’ lasting.
We would LOVE being able to manage stacked filters or at least being able to delete all filters for the current controller without restarting the solution.
Is this doable?
Here are some suggestions:
a) clearFoundsetFilterParam() - which deletes all stacked filters
or
b) popFoundsetFilterParam([n]) - which removes n latest filters
and more difficult,
c) duplicateFoundsetFilterParam - which would be used similary to the current duplicateFoundset() function
To know how much we will want these functions, simply remember the cat in shreck 2 ( ),
I think it is actually easier using SQL. SQL is something that even the underpowered Servoy developer will sooner or later come across. And here we are talking about just the WHERE-clause, not sophisticated subquery stuff. Personally, I find it easier using SQL than learning the addFoundSetFilterParam-language to describe just that, a WHERE-clause, just with less possibilities…