I have an array which I have re-ordered to meet the sites needs after a find
so it now looks like this:
Simply page Id's
Array
(
[0] => 4
[1] => 52
[2] => 50
[3] => 48
[4] => 43
[5] => 41
[6] => 38
[7] => 36
[8] => 16
[9] => 47
[10] => 46
[11] => 37
[12] => 32
[13] => 28
[14] => 27
[15] => 26
[16] => 25
[17] => 24
[18] => 22
[19] => 19
[20] => 18
[21] => 13
[22] => 6
[23] => 3
)
When I send this to paginate it still orders them by ID value by default so
the page renders not in the correct order, there is no field to order by so
I cant use that
Array
(
=> 3
=> 4
=> 6
=> 13
=> 16
.............. And so on in numeric order
)
How can I set the order to remain as I sent it?
Dave
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---