Index: trunk/extensions/CodeReview/CodeReview.i18n.php |
— | — | @@ -31,7 +31,7 @@ |
32 | 32 | 'code-authors' => 'authors', |
33 | 33 | 'code-status' => 'states', |
34 | 34 | 'code-tags' => 'tags', |
35 | | - 'code-authors-text' => 'Below is a list of repo authors in order of recent commits. Local wiki accounts are shown in parentheses.', |
| 35 | + 'code-authors-text' => 'Below is a list of repo authors in order of commit name. Local wiki accounts are shown in parentheses.', |
36 | 36 | 'code-author-haslink' => 'This author is linked to the wiki user $1', |
37 | 37 | 'code-author-orphan' => 'This author has no link with a wiki account', |
38 | 38 | 'code-author-dolink' => 'Link this author to a wiki user:', |
Index: trunk/extensions/CodeReview/backend/CodeRepository.php |
— | — | @@ -113,11 +113,11 @@ |
114 | 114 | $dbr = wfGetDB( DB_SLAVE ); |
115 | 115 | $res = $dbr->select( |
116 | 116 | 'code_rev', |
117 | | - array( 'cr_author', 'MAX(cr_timestamp) AS time' ), |
| 117 | + array( 'cr_author' ), |
118 | 118 | array( 'cr_repo_id' => $this->getId() ), |
119 | 119 | __METHOD__, |
120 | 120 | array( 'GROUP BY' => 'cr_author', |
121 | | - 'ORDER BY' => 'time DESC', 'LIMIT' => 500 ) |
| 121 | + 'ORDER BY' => 'cr_author', 'LIMIT' => 500 ) |
122 | 122 | ); |
123 | 123 | $authors = array(); |
124 | 124 | while ( $row = $dbr->fetchObject( $res ) ) { |