Skip to content

Commit

Permalink
会員検索時のCSVエキスポートに検索条件を反映 EC-CUBE#807
Browse files Browse the repository at this point in the history
  • Loading branch information
casek committed Oct 6, 2015
1 parent f9aca48 commit 3581c89
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/Eccube/Controller/Admin/Customer/CustomerController.php
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,7 @@ class CustomerController
{
public function index(Application $app, Request $request)
{
$session = $request->getSession();
$pagination = null;
$searchForm = $app['form.factory']
->createBuilder('admin_search_customer')
Expand All @@ -43,6 +44,8 @@ public function index(Application $app, Request $request)
$searchData = array();
if ($searchForm->isValid()) {
$searchData = $searchForm->getData();
// sessionのデータ保持
$session->set('eccube.admin.customer.search', $searchData);
}

if ('POST' === $request->getMethod()) {
Expand Down

0 comments on commit 3581c89

Please sign in to comment.