Hi,

Is it possible to add a collation clause in a order clause of
paginate() ?

I've tried those different solutions, but no success:

// tags_controller.php

public function admin_index() {
 $this->Tag->recursive = 0;
 $this->paginate = array('order' => 'name COLLATE 'utf8_unicode_ci'
ASC');
 $this->set('tags', $this->paginate());
}

public function admin_index() {
 $this->Tag->recursive = 0;
 $this->paginate = array('order' => 'name ASC',
'collate'=>'utf8_unicode_ci' );
 $this->set('tags', $this->paginate());
}

public function admin_index() {
 $this->Tag->recursive = 0;
 $this->paginate = array('order' => array('name'=> 'ASC'),
'collate'=>'utf8_unicode_ci' );
 $this->set('tags', $this->paginate());
}

Do you think I can do that with a custom paginate() method in my
model?

Thank's by advance for suggestions.

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"CakePHP" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/cake-php?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to