Merge pull request #22544 from Thunderbottom/whitelist-query

fix: whitelist all query functions for search widget