Datamapper pagination: total rows and current rows |
[eluser]Wazzu[/eluser]
The bad news: you can't reuse your query after a count or a get call The good news: you can get a clone and use it for count, so your real object keeps all clausules. Found the answer at: http://ellislab.com/forums/viewthread/136039/P250/ (check from post #253) Documentation here: http://www.overzealous.com/dmz/pages/clonecopy.html |
Messages In This Thread |
Datamapper pagination: total rows and current rows - by El Forum - 02-22-2010, 11:48 AM
Datamapper pagination: total rows and current rows - by El Forum - 02-22-2010, 01:28 PM
Datamapper pagination: total rows and current rows - by El Forum - 02-22-2010, 01:33 PM
Datamapper pagination: total rows and current rows - by El Forum - 02-23-2010, 01:07 AM
|