Bug Fix - Article Ordering - Date
Posted: 30 Dec 2016, 00:42
In the options when I select the Article Ordering by date ascending or descending i have a sql error.
This have a error in query when ORDER BY c.date does not exist.
The correct is order by created or publish_up. Just choose the best option.
To resolve this bug just edit the file /components/com_phocadocumentation/helpers/phocadocumentation.php
and change the line 34 and 38 the word date and replace with created or publish_up
This have a error in query when ORDER BY c.date does not exist.
The correct is order by created or publish_up. Just choose the best option.
To resolve this bug just edit the file /components/com_phocadocumentation/helpers/phocadocumentation.php
and change the line 34 and 38 the word date and replace with created or publish_up
Code: Select all
34 - $orderingOutput = 'created ASC';
38 - $orderingOutput = 'created DESC';