Commit c6aec21c authored by Ad Schellevis's avatar Ad Schellevis

(trafficshaper) close session on search

parent 1ffc6615
...@@ -169,6 +169,7 @@ class SettingsController extends ApiControllerBase ...@@ -169,6 +169,7 @@ class SettingsController extends ApiControllerBase
public function searchPipesAction() public function searchPipesAction()
{ {
if ($this->request->isPost()) { if ($this->request->isPost()) {
$this->sessionClose();
// fetch query parameters // fetch query parameters
$itemsPerPage = $this->request->getPost('rowCount', 'int', 9999); $itemsPerPage = $this->request->getPost('rowCount', 'int', 9999);
$currentPage = $this->request->getPost('current', 'int', 1); $currentPage = $this->request->getPost('current', 'int', 1);
...@@ -202,6 +203,7 @@ class SettingsController extends ApiControllerBase ...@@ -202,6 +203,7 @@ class SettingsController extends ApiControllerBase
public function searchQueuesAction() public function searchQueuesAction()
{ {
if ($this->request->isPost()) { if ($this->request->isPost()) {
$this->sessionClose();
// fetch query parameters // fetch query parameters
$itemsPerPage = $this->request->getPost('rowCount', 'int', 9999); $itemsPerPage = $this->request->getPost('rowCount', 'int', 9999);
$currentPage = $this->request->getPost('current', 'int', 1); $currentPage = $this->request->getPost('current', 'int', 1);
...@@ -318,6 +320,7 @@ class SettingsController extends ApiControllerBase ...@@ -318,6 +320,7 @@ class SettingsController extends ApiControllerBase
public function searchRulesAction() public function searchRulesAction()
{ {
if ($this->request->isPost()) { if ($this->request->isPost()) {
$this->sessionClose();
// fetch query parameters // fetch query parameters
$itemsPerPage = $this->request->getPost('rowCount', 'int', 9999); $itemsPerPage = $this->request->getPost('rowCount', 'int', 9999);
$currentPage = $this->request->getPost('current', 'int', 1); $currentPage = $this->request->getPost('current', 'int', 1);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment