Skip to content

Commit b9b098b

Browse files
committed
ACP2E-3431: Products Ordered report is not exporting. 404 error instead.
1 parent 651928c commit b9b098b

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

app/code/Magento/Reports/Controller/Adminhtml/Report/Product/ExportSoldCsv.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,12 +9,12 @@
99
namespace Magento\Reports\Controller\Adminhtml\Report\Product;
1010

1111
use Magento\Backend\Block\Widget\Grid\ExportInterface;
12-
use Magento\Framework\App\Action\HttpPostActionInterface;
12+
use Magento\Framework\App\Action\HttpGetActionInterface;
1313
use Magento\Framework\App\ResponseInterface;
1414
use Magento\Framework\App\Filesystem\DirectoryList;
1515
use Magento\Reports\Controller\Adminhtml\Report\Product;
1616

17-
class ExportSoldCsv extends Product implements HttpPostActionInterface
17+
class ExportSoldCsv extends Product implements HttpGetActionInterface
1818
{
1919
/**
2020
* Authorization level of a basic admin session

app/code/Magento/Reports/Controller/Adminhtml/Report/Product/ExportSoldExcel.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,12 +9,12 @@
99
namespace Magento\Reports\Controller\Adminhtml\Report\Product;
1010

1111
use Magento\Backend\Block\Widget\Grid\ExportInterface;
12-
use Magento\Framework\App\Action\HttpPostActionInterface;
12+
use Magento\Framework\App\Action\HttpGetActionInterface;
1313
use Magento\Framework\App\ResponseInterface;
1414
use Magento\Framework\App\Filesystem\DirectoryList;
1515
use Magento\Reports\Controller\Adminhtml\Report\Product;
1616

17-
class ExportSoldExcel extends Product implements HttpPostActionInterface
17+
class ExportSoldExcel extends Product implements HttpGetActionInterface
1818
{
1919
/**
2020
* Authorization level of a basic admin session

0 commit comments

Comments
 (0)