Just want to add a tip which might help someone using the API for front end.
Code: Select all
api.php?action=getCategories
Easy fix.
In /phpmyfaq/inc/PMF/Catagory.php look for
Code: Select all
private function getOrderedCategories($withperm = true){}
Code: Select all
GROUP BY
fc.id, fc.lang, fc.parent_id, fc.name, fc.description, fc.user_id
ORDER BY
fc.id",
PMF_Db::getTablePrefix(),
Code: Select all
GROUP BY
fc.id, fc.lang, fc.parent_id, fc.name, fc.description, fc.user_id
ORDER BY
fc.parent_id,fc.id",
PMF_Db::getTablePrefix(),
Cheers
/Simon