Better display of mailman's lists

This commit is contained in:
Axel ROGER 2012-11-09 09:07:02 +00:00
parent 241c5fdf22
commit 05978d8333
1 changed files with 1 additions and 1 deletions

View File

@ -457,7 +457,7 @@ class m_quota {
/* get list of mailman list and size for one user */
function get_size_mailman_details_user($u) {
return $this->_get_size_and_record_sql("SELECT list,size FROM size_mailman WHERE uid='{$u}' ORDER BY list ASC");
return $this->_get_size_and_record_sql("SELECT s.size,CONCAT(m.list,'@',m.domain) as list FROM size_mailman s LEFT JOIN mailman m ON s.list=m.name WHERE s.uid='{$u}' ORDER BY s.list ASC");
}
/* sum of databases sizes from all users */