Skip to content

Commit

Permalink
Merge pull request #662 from magento-fearless-kiwis/MAGETWO-62030
Browse files Browse the repository at this point in the history
  • Loading branch information
Oleksii Korshenko authored Dec 13, 2016
2 parents 3bd1c44 + d5bef0c commit 029f207
Show file tree
Hide file tree
Showing 3 changed files with 18 additions and 3 deletions.
15 changes: 15 additions & 0 deletions app/code/Magento/Customer/Model/ResourceModel/Grid/Collection.php
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
<?php
/**
* Copyright © 2016 Magento. All rights reserved.
* See COPYING.txt for license details.
*/

namespace Magento\Customer\Model\ResourceModel\Grid;

/**
* Class Collection
* Collection for order related documents to display grids on order view page
*/
class Collection extends \Magento\Framework\View\Element\UiComponent\DataProvider\SearchResult
{
}
4 changes: 2 additions & 2 deletions app/code/Magento/Customer/etc/di.xml
Original file line number Diff line number Diff line change
Expand Up @@ -176,12 +176,12 @@
<argument name="entitySnapshot" xsi:type="object">EavVersionControlSnapshot</argument>
</arguments>
</type>
<virtualType name="Magento\Customer\Model\ResourceModel\Grid\Collection" type="Magento\Framework\View\Element\UiComponent\DataProvider\SearchResult">
<type name="Magento\Customer\Model\ResourceModel\Grid\Collection">
<arguments>
<argument name="mainTable" xsi:type="string">customer_grid_flat</argument>
<argument name="resourceModel" xsi:type="string">Magento\Customer\Model\ResourceModel\Customer</argument>
</arguments>
</virtualType>
</type>
<type name="Magento\Framework\View\Element\UiComponent\DataProvider\CollectionFactory">
<arguments>
<argument name="collections" xsi:type="array">
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -124,7 +124,7 @@
<data name="product/data/category_ids/dataset" xsi:type="string">default_subcategory</data>
<data name="product/data/url_key" xsi:type="string">configurable-product-%isolation%</data>
<data name="product/data/affected_attribute_set" xsi:type="string">custom_attribute_set_%isolation%</data>
<data name="tag" xsi:type="string">test_type:acceptance_test</data>
<data name="tag" xsi:type="string">test_type:acceptance_test, stable:no</data>
<constraint name="Magento\Catalog\Test\Constraint\AssertProductSaveMessage" />
<constraint name="Magento\ConfigurableProduct\Test\Constraint\AssertConfigurableProductForm" />
<constraint name="Magento\ConfigurableProduct\Test\Constraint\AssertConfigurableProductInCategory"/>
Expand Down

0 comments on commit 029f207

Please sign in to comment.