From 7633d01c77f3a871cc8b6853c5d29639e6862b9d Mon Sep 17 00:00:00 2001 From: Andriy Nasinnyk <anasinnyk@ebay.com> Date: Wed, 21 Oct 2015 19:25:50 +0300 Subject: [PATCH] MAGETWO-43587: Sorting by price does not work in backend grid --- .../Model/ResourceModel/Product/Collection.php | 16 ---------------- 1 file changed, 16 deletions(-) diff --git a/app/code/Magento/Catalog/Model/ResourceModel/Product/Collection.php b/app/code/Magento/Catalog/Model/ResourceModel/Product/Collection.php index 0393bf02276..15421607a69 100644 --- a/app/code/Magento/Catalog/Model/ResourceModel/Product/Collection.php +++ b/app/code/Magento/Catalog/Model/ResourceModel/Product/Collection.php @@ -133,22 +133,6 @@ class Collection extends \Magento\Catalog\Model\ResourceModel\Collection\Abstrac */ protected $_priceDataFieldFilters = []; - /** - * Map of price fields - * - * @var array - */ - protected $_map = [ - 'fields' => [ - 'price' => 'price_index.price', - 'final_price' => 'price_index.final_price', - 'min_price' => 'price_index.min_price', - 'max_price' => 'price_index.max_price', - 'tier_price' => 'price_index.tier_price', - 'special_price' => 'price_index.special_price', - ], - ]; - /** * Price expression sql * -- GitLab