[OES-338] - searchData is now sourced from a global function to make sure the right form settings are sent to the server