@@ 43-55 (lines=13) @@ | ||
40 | $this->orderDirection = $request->query->getAlpha('orderDirection'); |
|
41 | ||
42 | // there is a session and the filter param is not set |
|
43 | if ($session->has($adminListName) && !$query->has('filter')) { |
|
44 | if (!$query->has('page') && !$query->has('limit')) { |
|
45 | $this->page = $adminListSessionData['page']; |
|
46 | } |
|
47 | ||
48 | if (!$query->has('orderBy')) { |
|
49 | $this->orderBy = $adminListSessionData['orderBy']; |
|
50 | } |
|
51 | ||
52 | if (!$query->has('orderDirection')) { |
|
53 | $this->orderDirection = $adminListSessionData['orderDirection']; |
|
54 | } |
|
55 | } |
|
56 | ||
57 | // save current parameters |
|
58 | $session->set( |
@@ 780-793 (lines=14) @@ | ||
777 | $this->orderDirection = $request->query->getAlpha('orderDirection'); |
|
778 | ||
779 | // there is a session and the filter param is not set |
|
780 | if ($session->has($adminListName) && !$query->has('filter')) { |
|
781 | $adminListSessionData = $request->getSession()->get($adminListName); |
|
782 | if (!$query->has('page')) { |
|
783 | $this->page = $adminListSessionData['page']; |
|
784 | } |
|
785 | ||
786 | if (!$query->has('orderBy')) { |
|
787 | $this->orderBy = $adminListSessionData['orderBy']; |
|
788 | } |
|
789 | ||
790 | if (!$query->has('orderDirection')) { |
|
791 | $this->orderDirection = $adminListSessionData['orderDirection']; |
|
792 | } |
|
793 | } |
|
794 | ||
795 | // save current parameters |
|
796 | $session->set( |