Skip to content

Commit

Permalink
Merge pull request #61 from WeareJH/ui-components-fix
Browse files Browse the repository at this point in the history
Fix for duplicated rows in admin grids
  • Loading branch information
bartoszkubicki authored Nov 4, 2022
2 parents b9a4233 + 444094f commit 7eb2598
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,9 @@
<item name="filter_url_params" xsi:type="array">
<item name="history_id" xsi:type="string">*</item>
</item>
<item name="storageConfig" xsi:type="array">
<item name="indexField" xsi:type="string">id</item>
</item>
</item>
</argument>
</argument>
Expand Down
3 changes: 3 additions & 0 deletions src/view/adminhtml/ui_component/import_history_listing.xml
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,9 @@
<item name="config" xsi:type="array">
<item name="component" xsi:type="string">Magento_Ui/js/grid/provider</item>
<item name="update_url" xsi:type="url" path="mui/index/render"/>
<item name="storageConfig" xsi:type="array">
<item name="indexField" xsi:type="string">id</item>
</item>
</item>
</argument>
</argument>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,9 @@
<item name="filter_url_params" xsi:type="array">
<item name="history_id" xsi:type="string">*</item>
</item>
<item name="storageConfig" xsi:type="array">
<item name="indexField" xsi:type="string">id</item>
</item>
</item>
</argument>
</argument>
Expand All @@ -34,7 +37,7 @@
</argument>
<bookmark name="bookmarks"/>
<columnsControls name="columns_controls"/>
<filterSearch name="fulltext"/>
<filterSearch name="fulltext"/>
<filters name="listing_filters"/>
<paging name="listing_paging"/>
<exportButton name="export_button"/>
Expand Down Expand Up @@ -88,4 +91,4 @@
</argument>
</column>
</columns>
</listing>
</listing>

0 comments on commit 7eb2598

Please sign in to comment.