MYSQL ERROR
Error:You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'ORDER BY `mr_listings`.`precio` ASC' at line 1
Query:SELECT `mr_categories`.`Key`, mr_accounts.Own_address, mr_accounts.Type, mr_accounts.company_name, mr_accounts.Photo, IF(`mr_listings`.`Featured_date`, '1', '0') OR IF(mr_listing_plans.Featured_listings, '1', '0') `Featured`, `mr_listings`.* FROM `mr_listings` RIGHT JOIN mr_accounts ON mr_listings.Account_ID = mr_accounts.ID INNER JOIN mr_categories ON `mr_listings`.`Category_ID` = mr_categories.ID INNER JOIN mr_listing_plans ON `mr_listings`.`Plan_ID` = mr_listing_plans.ID WHERE `mr_categories`.`Path` = 'casas' AND `mr_listings`.`Status` = 'active' AND `mr_listings`.`sale_rent` = '3' AND `mr_listings`.`pcia` = 'buenos-aires' AND `mr_listings`.`pcia_level1` = 'buenos-aires-belen-de-escobar' AND `mr_accounts`.`Type` = 'dueno_directo' ORDER BY `mr_listings`.`precio` ASC ORDER BY `mr_listings`.`precio` ASC
Function:filtrar
Class:rlFiltroAvisos
File:/var/www/bullano.com.ar/html/includes/controllers/avisos.inc.php (line# 126)