torusModel: set sql: SELECT p.id, p.code, p.name_el AS title, p.description_el AS description, p.availablein , '/' + name_url AS path, c.parent AS catparent, c.series AS catseries , p.oldprice, p.price , p.discount , p.stock , p.photo, c.category_el AS catname, c.id AS catid FROM products p INNER JOIN categories c ON p.category=c.id WHERE p.visible=1 AND c.visible=1 AND ( p.category IN (18) OR p.categoryb IN (18) ) AND (p.price>0 OR p.availablein=90) ORDER BY p.featured DESC, p.price, p.name_el
Invalid column name 'featured'.