| @@ 224-232 (lines=9) @@ | ||
| 221 | $page_count_param = (int) $request->get('page_count'); |
|
| 222 | $pageMaxis = $this->pageMaxRepository->findAll(); |
|
| 223 | ||
| 224 | if ($page_count_param) { |
|
| 225 | foreach ($pageMaxis as $pageMax) { |
|
| 226 | if ($page_count_param == $pageMax->getName()) { |
|
| 227 | $page_count = $pageMax->getName(); |
|
| 228 | $this->session->set('eccube.admin.order.search.page_count', $page_count); |
|
| 229 | break; |
|
| 230 | } |
|
| 231 | } |
|
| 232 | } |
|
| 233 | ||
| 234 | if ('POST' === $request->getMethod()) { |
|
| 235 | $searchForm->handleRequest($request); |
|
| @@ 182-190 (lines=9) @@ | ||
| 179 | $page_count_param = (int) $request->get('page_count'); |
|
| 180 | $pageMaxis = $this->pageMaxRepository->findAll(); |
|
| 181 | ||
| 182 | if ($page_count_param) { |
|
| 183 | foreach ($pageMaxis as $pageMax) { |
|
| 184 | if ($page_count_param == $pageMax->getName()) { |
|
| 185 | $page_count = $pageMax->getName(); |
|
| 186 | $this->session->set('eccube.admin.product.search.page_count', $page_count); |
|
| 187 | break; |
|
| 188 | } |
|
| 189 | } |
|
| 190 | } |
|
| 191 | ||
| 192 | if ('POST' === $request->getMethod()) { |
|
| 193 | $searchForm->handleRequest($request); |
|