diff --git a/include/ajax.reports.php b/include/ajax.reports.php index 9d002eb52c698a6788e33635f5576c22560d93df..75394d62389f03f1a532ccb0fad29f41375882ac 100644 --- a/include/ajax.reports.php +++ b/include/ajax.reports.php @@ -54,7 +54,9 @@ class OverviewReportAjaxAPI extends AjaxController { "table" => TOPIC_TABLE, "pk" => "topic_id", "sort" => 'ORDER BY topic', - "fields" => "T1.topic", + "fields" => "CONCAT_WS(' / '," + ."(SELECT P.topic FROM ".TOPIC_TABLE." P WHERE P.topic_id = T1.topic_pid)," + ."T1.topic)", "headers" => array('Help Topic') ), # XXX: This will be relative to permissions based on the