If you are showing a select list then it seems overkill to also hide a
load of links and add a javascript behaviour to then click on one of
those hidden links.

Just add an observer to the select list and make sure it then fires a
request to something like:

/model_plural/action/page:1/sort:model_singular.field/direction:asc

In most cases of having a select list for this people add two options
for each field to allow sort by ASC and DESC.
--~--~---------~--~----~------------~-------~--~----~
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