Add filtering and sorting capabilities to the project list page and
also render the project activity with a small bar graph below the logo image. Sanitize the tagcloud css.
This commit is contained in:
@@ -75,6 +75,18 @@ class IDF_Tag extends Pluf_Model
|
||||
),
|
||||
);
|
||||
|
||||
$table = $this->_con->pfx.'idf_project_idf_tag_assoc';
|
||||
$this->_a['views'] = array(
|
||||
'join_projects' =>
|
||||
array(
|
||||
'join' => 'LEFT JOIN '.$table
|
||||
.' ON idf_tag_id=id',
|
||||
'select' => $this->getSelect().',COUNT(idf_project_id) as project_count',
|
||||
'group' => 'idf_tag_id',
|
||||
'props' => array('project_count' => 'project_count'),
|
||||
),
|
||||
);
|
||||
|
||||
$this->_a['idx'] = array(
|
||||
'lcname_idx' =>
|
||||
array(
|
||||
|
Reference in New Issue
Block a user