There was an error while loading. Please reload this page.
1 parent f6311c9 commit 5af168eCopy full SHA for 5af168e
Controller/CircularNoticesController.php
@@ -89,7 +89,7 @@ public function beforeFilter() {
89
* index action
90
*
91
* @return void
92
- *
+ *
93
* 速度改善の修正に伴って発生したため抑制
94
* @SuppressWarnings(PHPMD.CyclomaticComplexity)
95
* @SuppressWarnings(PHPMD.NPathComplexity)
@@ -139,7 +139,7 @@ public function index() {
139
$currentSort = isset($this->params['named']['sort'])
140
? $this->params['named']['sort']
141
: 'CircularNoticeContent.modified';
142
-$currentDirection = isset($this->params['named']['sort'])
+$currentDirection = isset($this->params['named']['direction'])
143
? $this->params['named']['direction']
144
: 'desc';
145
if (! isset($sortOptions[$currentSort . '.' . $currentDirection])) {
0 commit comments