Skip to content

Commit 2d922b0

Browse files
MAGETWO-91520: Abandoned Cart report exports only current page
1 parent 7a717d1 commit 2d922b0

File tree

1 file changed

+10
-0
lines changed
  • app/code/Magento/Reports/Block/Adminhtml/Shopcart/Abandoned

1 file changed

+10
-0
lines changed

app/code/Magento/Reports/Block/Adminhtml/Shopcart/Abandoned/Grid.php

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,8 @@ public function __construct(
3737
}
3838

3939
/**
40+
* Grid constructor
41+
*
4042
* @return void
4143
*/
4244
protected function _construct()
@@ -46,6 +48,8 @@ protected function _construct()
4648
}
4749

4850
/**
51+
* Prepare collection
52+
*
4953
* @return \Magento\Backend\Block\Widget\Grid
5054
*/
5155
protected function _prepareCollection()
@@ -75,6 +79,8 @@ protected function _prepareCollection()
7579
}
7680

7781
/**
82+
* Add column filter to collection
83+
*
7884
* @param array $column
7985
*
8086
* @return $this
@@ -93,6 +99,8 @@ protected function _addColumnFilterToCollection($column)
9399
}
94100

95101
/**
102+
* Prepare columns
103+
*
96104
* @return \Magento\Backend\Block\Widget\Grid\Extended
97105
* @SuppressWarnings(PHPMD.ExcessiveMethodLength)
98106
*/
@@ -226,6 +234,8 @@ protected function _prepareColumns()
226234
}
227235

228236
/**
237+
* Get rows url
238+
*
229239
* @param \Magento\Framework\DataObject $row
230240
*
231241
* @return string

0 commit comments

Comments
 (0)