Search in Finder is totally broken, it will only search "This Mac" but not the current folder
At some point my search broke on macOS 13.x. I was hoping upgrading to macOS 14.x would fix it but it didn't.
Whenever I search it defaults to "This Mac" (I wish it would default to current folder and sub-folders but that's a different issue). If I search This Mac I get the results I would expect but if I try to search only the current folder I get no results.
For example, let's say I have a folder open called "Docs" and there is a file in docs called resume.pdf. If I type resume into search and select "name" Name Contains "resume" it will find everything that contains Resume on my mac but if I select Search "Docs" it finds nothing. This is the same after rebooting, any folder, any file name, it doesn't matter.
How can I fix this?