Skip to content

Commit

Permalink
Merge pull request #3363 from chihiro-adachi/fix-csv-search
Browse files Browse the repository at this point in the history
CSVダウンロード時に検索条件が反映されない不具合の修正
  • Loading branch information
ryo-endo committed Jul 20, 2018
2 parents cd7f26a + 5f997db commit 03b44e0
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/Eccube/Service/CsvExportService.php
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@
use Doctrine\Common\Util\ClassUtils;
use Doctrine\ORM\EntityManagerInterface;
use Eccube\Common\EccubeConfig;
use Eccube\Form\Type\Admin\SearchOrderType;
use Eccube\Form\Type\Admin\SearchProductType;
use Eccube\Repository\CsvRepository;
use Eccube\Repository\CustomerRepository;
Expand Down Expand Up @@ -394,7 +395,7 @@ public function getOrderQueryBuilder(Request $request)
{
$session = $request->getSession();
$builder = $this->formFactory
->createBuilder(SearchProductType::class);
->createBuilder(SearchOrderType::class);
$searchForm = $builder->getForm();

$viewData = $session->get('eccube.admin.order.search', []);
Expand Down

0 comments on commit 03b44e0

Please sign in to comment.