Filtering
The filter Search Params option can be used to filter the
search results with complex conditions. It can be used for groupping or
building highly dynamic search interfaces by manipulating the filters based on
the user input.
Example
const ui = new FindkitUI({
publicToken: "<TOKEN>",
params: {
filter: {
created: { $gt: "2023-02-04" },
},
},
});
It can target tags,
created,
modified,
language and any custom
fields exposed by the Findkit Meta Tag.
The filter option is available in
paramsconstructor optiongroupsconstructor optionupdateParamsmethodupdateGroupsmethoduseParamsslot override hookuseGroupsslot override hook
caution
When building custom user interfaces make sure you make the UI state linkable with Custom Router Data
Read How Filtering Works? for overview of how to use them and see Operators for all available filtering tools