diff --git a/model/SQLQuery.php b/model/SQLQuery.php
index <HASH>..<HASH> 100644
--- a/model/SQLQuery.php
+++ b/model/SQLQuery.php
@@ -538,6 +538,11 @@ class SQLQuery {
 		$this->replacementsNew[] = $new;
 	}
 
+	public function getFilter() {
+		Deprecation::notice('3.0', 'Please use prepareSelect() instead of getFilter()');
+		return $this->prepareSelect();
+	}
+
 	/**
 	 * Return an SQL WHERE clause to filter a SELECT query.
 	 *
MINOR Re-adding getFilter as a deprecated method instead of removing it