Hi Richard, An enable/disable checkbox that works without deleting the filter would be very nice. Just like data defined symbology where you can disable it without losing the expression.
Short term workaround for you: TRUE /* [yourfilter here] */ Matthias On Mon, May 10, 2021 at 4:42 PM Richard Duivenvoorde <[email protected]> wrote: > Hi List, > > When I add a filter to a layer, I often want to temporarily disable that > filter (just to see what the full view is). > > Working a lot with sql scripts recently, in which you comment out (a > part) of a sql query by putting '--' in front of it, I tried that also > in the Query builder, and though it looks like I'm commenting out my > query (the query is greyed-out), it's not working, I get a parsing > error. > > So usability question: > - would other people be interested in temporarily disabling the layer > filter query, or am I the only one :-) > > If yes: > > - should it be implemented by 'commenting' out part of the query? > - or should there be some 'temporarily disable' checkbox in the query > builder) > - should it be a context menu (either the layer, or the little filter > overlay icon in the layermanager) > > Tech question: > - any forseeing issues with such thing? > > Regards, > > Richard Duivenvoorde > _______________________________________________ > QGIS-Developer mailing list > [email protected] > List info: https://lists.osgeo.org/mailman/listinfo/qgis-developer > Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-developer >
_______________________________________________ QGIS-Developer mailing list [email protected] List info: https://lists.osgeo.org/mailman/listinfo/qgis-developer Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-developer
