public function getSearchPage() {

		$pages = ExtensibleSearchPage::get();

		// This is required to support multiple sites.

		if(ClassInfo::exists(Multisites::class)) {
			$pages = $pages->filter('SiteID', $this->owner->SiteID);
		}
		return $pages->first();
	}