<[!--{page/html_notices_global_notices}--]> <[!--/{page/html_notices_global_notices}--]><[!--{page/html_header_header}--]>
<[!--/{page/html_header_header}--]>

Refine Results Sort By
X
Array
(
    [0] => SELECT `e`.*, `cat_index`.`position` AS `cat_index_position`, `price_index`.`price`, `price_index`.`tax_class_id`, `price_index`.`final_price`, IF(price_index.tier_price IS NOT NULL, LEAST(price_index.min_price, price_index.tier_price), price_index.min_price) AS `minimal_price`, `price_index`.`min_price`, `price_index`.`max_price`, `price_index`.`tier_price`, IF(at_visibility.value_id > 0, at_visibility.value, at_visibility_default.value) AS `visibility`, IF(at_is_visible_child.value_id > 0, at_is_visible_child.value, at_is_visible_child_default.value) AS `is_visible_child`, `sort`.`position` AS `custom_position` FROM `cyr_catalog_product_entity` AS `e`
 INNER JOIN `cyr_catalog_category_product_index` AS `cat_index` ON cat_index.product_id=e.entity_id AND cat_index.store_id=1 AND cat_index.visibility IN(2, 4) AND cat_index.category_id = '3442'
 INNER JOIN `cyr_catalog_product_index_price` AS `price_index` ON price_index.entity_id = e.entity_id AND price_index.website_id = '1' AND price_index.customer_group_id = 0
 INNER JOIN `cyr_catalog_product_entity_int` AS `at_visibility_default` ON (`at_visibility_default`.`entity_id` = `e`.`entity_id`) AND (`at_visibility_default`.`attribute_id` = '102') AND `at_visibility_default`.`store_id` = 0
 LEFT JOIN `cyr_catalog_product_entity_int` AS `at_visibility` ON (`at_visibility`.`entity_id` = `e`.`entity_id`) AND (`at_visibility`.`attribute_id` = '102') AND (`at_visibility`.`store_id` = 1)
 LEFT JOIN `cyr_catalog_product_entity_int` AS `at_is_visible_child_default` ON (`at_is_visible_child_default`.`entity_id` = `e`.`entity_id`) AND (`at_is_visible_child_default`.`attribute_id` = '258') AND `at_is_visible_child_default`.`store_id` = 0
 LEFT JOIN `cyr_catalog_product_entity_int` AS `at_is_visible_child` ON (`at_is_visible_child`.`entity_id` = `e`.`entity_id`) AND (`at_is_visible_child`.`attribute_id` = '258') AND (`at_is_visible_child`.`store_id` = 1)
 LEFT JOIN `gr_sortable` AS `sort` ON e.entity_id = sort.product_id AND sort.category_id = 3442 WHERE (IF(at_visibility.value_id > 0, at_visibility.value, at_visibility_default.value) = 4) AND ((IF(at_is_visible_child.value_id > 0, at_is_visible_child.value, at_is_visible_child_default.value) IS NULL) OR (IF(at_is_visible_child.value_id > 0, at_is_visible_child.value, at_is_visible_child_default.value) = '') OR (IF(at_is_visible_child.value_id > 0, at_is_visible_child.value, at_is_visible_child_default.value) = 'NO FIELD')) GROUP BY `e`.`entity_id` ORDER BY ISNULL(custom_position) ASC, custom_position ASC, name ASC LIMIT 32


    [1] => #0 /var/www/html/beta/production/cyrusrugs/lib/Varien/Db/Statement/Pdo/Mysql.php(110): Zend_Db_Statement_Pdo->_execute(Array)
#1 /var/www/html/beta/production/cyrusrugs/app/code/core/Zend/Db/Statement.php(291): Varien_Db_Statement_Pdo_Mysql->_execute(Array)
#2 /var/www/html/beta/production/cyrusrugs/lib/Zend/Db/Adapter/Abstract.php(480): Zend_Db_Statement->execute(Array)
#3 /var/www/html/beta/production/cyrusrugs/lib/Zend/Db/Adapter/Pdo/Abstract.php(238): Zend_Db_Adapter_Abstract->query('SELECT `e`.*, `...', Array)
#4 /var/www/html/beta/production/cyrusrugs/lib/Varien/Db/Adapter/Pdo/Mysql.php(504): Zend_Db_Adapter_Pdo_Abstract->query('SELECT `e`.*, `...', Array)
#5 /var/www/html/beta/production/cyrusrugs/lib/Zend/Db/Adapter/Abstract.php(737): Varien_Db_Adapter_Pdo_Mysql->query('SELECT `e`.*, `...', Array)
#6 /var/www/html/beta/production/cyrusrugs/lib/Varien/Data/Collection/Db.php(740): Zend_Db_Adapter_Abstract->fetchAll('SELECT `e`.*, `...', Array)
#7 /var/www/html/beta/production/cyrusrugs/app/code/core/Mage/Eav/Model/Entity/Collection/Abstract.php(1046): Varien_Data_Collection_Db->_fetchAll('SELECT `e`.*, `...')
#8 /var/www/html/beta/production/cyrusrugs/app/code/core/Mage/Eav/Model/Entity/Collection/Abstract.php(872): Mage_Eav_Model_Entity_Collection_Abstract->_loadEntities(false, false)
#9 /var/www/html/beta/production/cyrusrugs/app/code/core/Mage/Review/Model/Observer.php(78): Mage_Eav_Model_Entity_Collection_Abstract->load()
#10 /var/www/html/beta/production/cyrusrugs/app/code/core/Mage/Core/Model/App.php(1358): Mage_Review_Model_Observer->catalogBlockProductCollectionBeforeToHtml(Object(Varien_Event_Observer))
#11 /var/www/html/beta/production/cyrusrugs/app/code/core/Mage/Core/Model/App.php(1331): Mage_Core_Model_App->_callObserverMethod(Object(Mage_Review_Model_Observer), 'catalogBlockPro...', Object(Varien_Event_Observer))
#12 /var/www/html/beta/production/cyrusrugs/app/Mage.php(448): Mage_Core_Model_App->dispatchEvent('catalog_block_p...', Array)
#13 /var/www/html/beta/production/cyrusrugs/app/code/core/Mage/Catalog/Block/Product/List.php(377): Mage::dispatchEvent('catalog_block_p...', Array)
#14 /var/www/html/beta/production/cyrusrugs/app/code/core/Mage/Core/Block/Abstract.php(918): Mage_Catalog_Block_Product_List->_beforeToHtml()
#15 /var/www/html/beta/production/cyrusrugs/app/code/core/Mage/Core/Block/Abstract.php(637): Mage_Core_Block_Abstract->toHtml()
#16 /var/www/html/beta/production/cyrusrugs/app/code/core/Mage/Core/Block/Abstract.php(581): Mage_Core_Block_Abstract->_getChildHtml('product_list', true)
#17 /var/www/html/beta/production/cyrusrugs/app/code/core/Mage/Catalog/Block/Category/View.php(90): Mage_Core_Block_Abstract->getChildHtml('product_list')
#18 /var/www/html/beta/production/cyrusrugs/app/design/frontend/cyrus/default/template/catalog/category/view.phtml(267): Mage_Catalog_Block_Category_View->getProductListHtml()
#19 /var/www/html/beta/production/cyrusrugs/app/code/core/Mage/Core/Block/Template.php(241): include('/var/www/html/b...')
#20 /var/www/html/beta/production/cyrusrugs/app/code/core/Mage/Core/Block/Template.php(272): Mage_Core_Block_Template->fetchView('frontend/cyrus/...')
#21 /var/www/html/beta/production/cyrusrugs/app/code/core/Mage/Core/Block/Template.php(286): Mage_Core_Block_Template->renderView()
#22 /var/www/html/beta/production/cyrusrugs/app/code/core/Mage/Core/Block/Abstract.php(919): Mage_Core_Block_Template->_toHtml()
#23 /var/www/html/beta/production/cyrusrugs/app/code/core/Mage/Core/Block/Text/List.php(43): Mage_Core_Block_Abstract->toHtml()
#24 /var/www/html/beta/production/cyrusrugs/app/code/core/Mage/Core/Block/Abstract.php(919): Mage_Core_Block_Text_List->_toHtml()
#25 /var/www/html/beta/production/cyrusrugs/app/code/core/Mage/Core/Block/Abstract.php(637): Mage_Core_Block_Abstract->toHtml()
#26 /var/www/html/beta/production/cyrusrugs/app/code/core/Mage/Core/Block/Abstract.php(581): Mage_Core_Block_Abstract->_getChildHtml('content', true)
#27 /var/www/html/beta/production/cyrusrugs/app/design/frontend/cyrus/default/template/page/2columns.phtml(150): Mage_Core_Block_Abstract->getChildHtml('content')
#28 /var/www/html/beta/production/cyrusrugs/app/code/core/Mage/Core/Block/Template.php(241): include('/var/www/html/b...')
#29 /var/www/html/beta/production/cyrusrugs/app/code/core/Mage/Core/Block/Template.php(272): Mage_Core_Block_Template->fetchView('frontend/cyrus/...')
#30 /var/www/html/beta/production/cyrusrugs/app/code/core/Mage/Core/Block/Template.php(286): Mage_Core_Block_Template->renderView()
#31 /var/www/html/beta/production/cyrusrugs/app/code/core/Mage/Core/Block/Abstract.php(919): Mage_Core_Block_Template->_toHtml()
#32 /var/www/html/beta/production/cyrusrugs/app/code/core/Mage/Core/Model/Layout.php(555): Mage_Core_Block_Abstract->toHtml()
#33 /var/www/html/beta/production/cyrusrugs/app/code/core/Mage/Core/Controller/Varien/Action.php(390): Mage_Core_Model_Layout->getOutput()
#34 /var/www/html/beta/production/cyrusrugs/app/code/core/Mage/Catalog/controllers/CategoryController.php(161): Mage_Core_Controller_Varien_Action->renderLayout()
#35 /var/www/html/beta/production/cyrusrugs/app/code/core/Mage/Core/Controller/Varien/Action.php(418): Mage_Catalog_CategoryController->viewAction()
#36 /var/www/html/beta/production/cyrusrugs/app/code/core/Mage/Core/Controller/Varien/Router/Standard.php(254): Mage_Core_Controller_Varien_Action->dispatch('view')
#37 /var/www/html/beta/production/cyrusrugs/app/code/core/Mage/Core/Controller/Varien/Front.php(172): Mage_Core_Controller_Varien_Router_Standard->match(Object(Mage_Core_Controller_Request_Http))
#38 /var/www/html/beta/production/cyrusrugs/app/code/core/Mage/Core/Model/App.php(365): Mage_Core_Controller_Varien_Front->dispatch()
#39 /var/www/html/beta/production/cyrusrugs/app/Mage.php(684): Mage_Core_Model_App->run(Array)
#40 /var/www/html/beta/production/cyrusrugs/index.php(187): Mage::run('', 'store')
#41 {main}
    [url] => /brand/cyrus-artisan-rugs/dhunche-rugs.html
    [script_name] => /index.php
    [skin] => default
)