Skip to content
This repository has been archived by the owner on Jan 21, 2020. It is now read-only.

Commit

Permalink
Add ordering by name
Browse files Browse the repository at this point in the history
  • Loading branch information
dlondero committed Feb 13, 2015
1 parent f3919f9 commit de45e05
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion library/CM/Paging/Language/Enabled.php
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
class CM_Paging_Language_Enabled extends CM_Paging_Language_Abstract {

public function __construct() {
$source = new CM_PagingSource_Sql('id, abbreviation', 'cm_model_language', 'enabled = 1');
$source = new CM_PagingSource_Sql('id, abbreviation', 'cm_model_language', 'enabled = 1', 'name ASC');
$source->enableCacheLocal();
parent::__construct($source);
}
Expand Down

0 comments on commit de45e05

Please sign in to comment.