src/Eccube/Controller/Admin/Customer/CustomerController.php 1 location
|
@@ 55-69 (lines=15) @@
|
| 52 |
|
|
| 53 |
|
$searchForm->handleRequest($request); |
| 54 |
|
|
| 55 |
|
if ($searchForm->isValid()) { |
| 56 |
|
$searchData = $searchForm->getData(); |
| 57 |
|
|
| 58 |
|
// paginator |
| 59 |
|
$qb = $app['eccube.repository.customer']->getQueryBuilderBySearchData($searchData); |
| 60 |
|
$page_no = 1; |
| 61 |
|
$pagination = $app['paginator']()->paginate( |
| 62 |
|
$qb, |
| 63 |
|
$page_no, |
| 64 |
|
$page_count |
| 65 |
|
); |
| 66 |
|
|
| 67 |
|
// sessionのデータ保持 |
| 68 |
|
$session->set('eccube.admin.customer.search', $searchData); |
| 69 |
|
} |
| 70 |
|
} else { |
| 71 |
|
if (is_null($page_no)) { |
| 72 |
|
// sessionを削除 |
src/Eccube/Controller/Admin/Order/OrderController.php 1 location
|
@@ 58-72 (lines=15) @@
|
| 55 |
|
|
| 56 |
|
$searchForm->handleRequest($request); |
| 57 |
|
|
| 58 |
|
if ($searchForm->isValid()) { |
| 59 |
|
$searchData = $searchForm->getData(); |
| 60 |
|
|
| 61 |
|
// paginator |
| 62 |
|
$qb = $app['eccube.repository.order']->getQueryBuilderBySearchDataForAdmin($searchData); |
| 63 |
|
$page_no = 1; |
| 64 |
|
$pagination = $app['paginator']()->paginate( |
| 65 |
|
$qb, |
| 66 |
|
$page_no, |
| 67 |
|
$page_count |
| 68 |
|
); |
| 69 |
|
|
| 70 |
|
// sessionのデータ保持 |
| 71 |
|
$session->set('eccube.admin.order.search', $searchData); |
| 72 |
|
} |
| 73 |
|
} else { |
| 74 |
|
if (is_null($page_no)) { |
| 75 |
|
// sessionを削除 |