public static AdsDataComponent.AdsDataTable GetActiveAdsByQuery(int recordLimit, int categoryId, int memberId, decimal maxPrice, string searchTerm, string location, int adType, int adLevel, int dayRange, bool mustHaveImage)
{
String escapedSearchTerm = AdsDB.EscapeWildcardCharacters(searchTerm);
String escapedLocation = AdsDB.EscapeWildcardCharacters(location);
return GetAdsByQuery(recordLimit,
categoryId, memberId, maxPrice,
HttpUtility.HtmlEncode(escapedSearchTerm),
HttpUtility.HtmlEncode(escapedLocation),
adType, (int)AdStatus.Activated,
adLevel, dayRange, mustHaveImage);
}