Open tudorbarascu opened 4 years ago
Well the whole layer is gone in this case. Personally I don't think this is a bug. I think that the layer should be removed entirely from the layertree instead as is it temporary and should only last as long as the project is active.
Only the data is gone, the layer styling and everything else is there, except for the filtering option. The use case that I had while stumbling on it is to fill that layer with problems found from a query and I sometimes I only want to show critical problems. I have ways around it but it's a bug from my point of view because except for the data (and the filter), everything else is already saved.
@tudorbarascu could you use a rule based renderer to filter this?
@nyalldawson That's what I actually do as a workaround. Should have written here. Thanks. I can close this if no one else feels it's a bug.
How to Reproduce
"whatever" < 5
you can see it works"whatever" < 5
that should have been saved,QGIS and OS versions