Page 1 of 1

Bug Fix - Article Ordering - Date

Posted: 30 Dec 2016, 00:42
by portugaonline
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

Code: Select all

34 - $orderingOutput = 'created ASC';
38 - $orderingOutput = 'created DESC';

Re: Bug Fix - Article Ordering - Date

Posted: 31 Dec 2016, 01:27
by Jan
Hi, thank you very much for the info, I will take a look at it for the next version.

Thank you, Jan