We are transitioning over to a new forum platform. Please post new issues there. Existing threads will be dealt with here unless you choose to move them over. Visit the new forum
Can't get perch_blog_categories() to filter by section
I have this code:
perch_blog_categories(array( 'section' => $sectionSlug, 'cache' => false, 'sort' => 'catTitle', 'sort-order' => 'ASC' ));
and am expecting it to only show categories that are in use by posts in the
$sectionSlug section, but instead all categories are returned.
Am I expecting the wrong thing or making a mistake somewhere?
Perch: 2.8.4, PHP: 5.4.26, MySQL: 5.5.34, with PDO Server OS: Darwin, apache2handler Installed apps: content (2.8.4), assets (2.8.4), categories (2.8.4), perch_blog (4.6), perch_forms (1.8.3)
Want to reply to this thread?Login with Perch