Bug Fix - Article Ordering - Date

Phoca Documentation - creating documentation in Joomla! CMS
User avatar
portugaonline
Phoca Newbie
Phoca Newbie
Posts: 5
Joined: 12 Feb 2009, 17:26

Bug Fix - Article Ordering - Date

Post 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';
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 48345
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: Bug Fix - Article Ordering - Date

Post by Jan »

Hi, thank you very much for the info, I will take a look at it for the next version.

Thank you, Jan
If you find Phoca extensions useful, please support the project
Post Reply