Go back to John Temple Gallery home page Image Gallery Special Exhibition New Images Send Free Post Card Contact us and gallery location About John Temple
images/BlankBanner.jpg
  John Temple Gallery » Catalog » Advanced Search » Search Results My Account  |  Cart Contents  |  Checkout   
What's New? more
Boat Harbour
Boat Harbour
Search for images
 

Search Limited Edition prints only
Advanced Search
Information
Shipping & Returns
Privacy Notice
Conditions of Use
Contact Us
Photos meeting the search criteria
3065 - Expression #1 of ORDER BY clause is not in SELECT list, references column 'johntemp_jtgdb.p.products_display_priority' which is not in SELECT list; this is incompatible with DISTINCT

select distinct p.products_model, p.products_image, m.manufacturers_id, p.products_id, pd.products_name, p.products_price, p.products_tax_class_id, p.products_image_thumbnail, IF(s.status, s.specials_new_products_price, NULL) as specials_new_products_price, IF(s.status, s.specials_new_products_price, p.products_price) as final_price from products p left join manufacturers m using(manufacturers_id) left join specials s on p.products_id = s.products_id, products_description pd, categories c, products_to_categories p2c where p.products_status = '1' and p.products_id = pd.products_id and pd.language_id = '1' and p.products_id = p2c.products_id and p2c.categories_id = c.categories_id and ((pd.products_name like '%hobart%' or p.products_model like '%hobart%' or m.manufacturers_name like '%hobart%' or p.products_keywords like '%hobart%' or p.products_hidden_keywords like '%hobart%') ) order by p.products_display_priority desc, pd.products_name limit 0, 9

[TEP STOP]