public function getBaseURL() {
		$options = $this->getOptions();
		$base_url = elgg_extract('base_url', $options);
		$offset_key = elgg_extract('offset_key', $options, 'offset');

		if (!$base_url) {
			$base_url = current_page_url();
		}

		$base_url = elgg_http_remove_url_query_element($base_url, 'query');
		$base_url = elgg_http_remove_url_query_element($base_url, 'sort');
		$base_url = elgg_http_remove_url_query_element($base_url, 'limit');
		$base_url = elgg_http_remove_url_query_element($base_url, $offset_key);

		return $base_url;
	}