Hey guys I want to filter something special, depending on whether the data is there or not.
You do not know beforehand it will be one or the other combination therefore a kind of double filter:
There are 3 different parts:
Part A
Part B
Part C
If now all three parts are present, only part A and part B should be let through the filter.
But if part B is not there then part A and part c should be let through.
For example, if the database contains only
Part A
Part C
is available.
There are also only the two options,
so either all 3 parts are in, but then only A and B should go through the filter and C not and the second is if B is not there, only A and C should go through the filter.
how can I implement this?