Index: trunk/extensions/CodeReview/backend/CodeRepository.php |
— | — | @@ -90,7 +90,8 @@ |
91 | 91 | |
92 | 92 | static function getRepoList() { |
93 | 93 | $dbr = wfGetDB( DB_SLAVE ); |
94 | | - $res = $dbr->select( 'code_repo', '*', array(), __METHOD__ ); |
| 94 | + $options = array( 'ORDER BY' => 'repo_name' ); |
| 95 | + $res = $dbr->select( 'code_repo', '*', array(), __METHOD__, $options ); |
95 | 96 | $repos = array(); |
96 | 97 | foreach ( $res as $row ) { |
97 | 98 | $repos[] = self::newFromRow( $row ); |