diff --git a/include/client/kb-search.inc.php b/include/client/kb-search.inc.php index a81f5e4fdea5f7064c1f5dacbeb88fab99fb296c..81fd400ee16f22761cc908c8ac7ebe7aec4038b9 100644 --- a/include/client/kb-search.inc.php +++ b/include/client/kb-search.inc.php @@ -45,6 +45,7 @@ foreach (Topic::objects() <div class="header"><?php echo __('Categories'); ?></div> <?php foreach (Category::objects() + ->exclude(Q::any(array('ispublic'=>Category::VISIBILITY_PRIVATE))) ->annotate(array('faqs_count'=>SqlAggregate::count('faqs'))) ->filter(array('faqs_count__gt'=>0)) as $C) { ?>