chg: Case insensitive sort of organisation list

pull/3439/head
Dawid Czarnecki 2018-07-05 11:09:13 +02:00
parent 3eaa70482e
commit 124640ce78
1 changed files with 4 additions and 3 deletions

View File

@ -12,9 +12,10 @@ class OrganisationsController extends AppController {
public $paginate = array(
'limit' => 60,
'maxLimit' => 9999, // LATER we will bump here on a problem once we have more than 9999 events <- no we won't, this is the max a user van view/page.
'order' => array(
'Organisation.name' => 'ASC'
),
'order' => 'LOWER(Organisation.name)'
//'order' => array(
// 'Organisation.name' => 'ASC'
//),
);
public function index() {