Global Filters
Configuring a global filter in Konstrukt, the back office UI builder for Umbraco.
Sometimes you may only want to work with a sub-set of data within a given collection so this is where the global filters comes in handy. These allow you to define a filter to apply to all queries for a given collection.
Sets the filter where clause expression. Expression must be a
boolean
expression.// Example
collectionConfig.SetFilter(p => p.Current);
Last modified 1yr ago