Bricks Search Filter Cache Always Misses, Duplicated Filter Queries

Browser: Chrome 110
OS: Windows
Video: Cap Recording - 20 November 2026 | Cap Recording

When using a Bricks search query filter for posts, the query is not cached in the WP cache using wp_cache_get() or wp_cache_set(). This results in two runs on the query, when it could’ve just been one.

It looks like the cache group is incorrect between the post search get() and set(), but it is correct for the term and user searches. This is in the Search class in the Bricks files, lines 213 and 228.

Using Query Monitor, I see that two queries are running and both taking the same amount of time, where the second should be much faster (because it is cached).