Updating public profile by writing new code that reduces queries and adds some more features - also fixes issue 13
This commit is contained in:
@@ -102,6 +102,14 @@ class IDF_Commit extends Pluf_Model
|
||||
'help_text' => 'Date of creation by the scm',
|
||||
),
|
||||
);
|
||||
|
||||
$projtbl = $this->_con->pfx . "idf_projects";
|
||||
$this->_a['views'] = array(
|
||||
'project_find_private' => array (
|
||||
'where' => 'private = 0',
|
||||
'join' => "INNER JOIN " . $projtbl . " ON " . $this->getSqlTable() . ".project = " . $projtbl . ".id"
|
||||
)
|
||||
);
|
||||
}
|
||||
|
||||
function __toString()
|
||||
|
Reference in New Issue
Block a user