We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7e52a31 commit 2a5f204Copy full SHA for 2a5f204
components/com_content/src/Model/ArchiveModel.php
@@ -160,7 +160,7 @@ public function getYears()
160
$query = $db->getQuery(true);
161
$queryDate = QueryHelper::getQueryDate($this->state->get('params')->get('order_date'), $db);
162
$years = $query->year($queryDate);
163
- $yearSort = $this->state->params->get('year_sort_order', 'ASC');
+ $yearSort = $this->state->get('params')->get('year_sort_order', 'ASC');
164
165
$query->select('DISTINCT ' . $years)
166
->from($db->quoteName('#__content', 'a'))
0 commit comments