Welcome Guest, Not a member yet? Register   Sign In
Datamapper and pagination
#2

[eluser]WanWizard[/eluser]
1.8.1. is a fairly old version. I can't check bitbucket atm (it's down) to see if something was fixed in later versions, but looking at the current code, I don't see any reason why any clause would get dropped from the query.

Perhaps you can try the 1.8.3-dev from bitbucket (when it's back online) to see if it indeed is fixed?

I assume it is, because in this version the count query is run on a cloned object, from which the select and order_by clauses are removed. It will definitely not strip any other clauses.


Messages In This Thread
Datamapper and pagination - by El Forum - 04-16-2013, 06:40 AM
Datamapper and pagination - by El Forum - 04-16-2013, 09:11 AM
Datamapper and pagination - by El Forum - 04-19-2013, 08:12 AM
Datamapper and pagination - by El Forum - 04-19-2013, 09:52 AM
Datamapper and pagination - by El Forum - 04-19-2013, 10:24 AM
Datamapper and pagination - by El Forum - 04-19-2013, 12:26 PM
Datamapper and pagination - by El Forum - 04-19-2013, 01:26 PM
Datamapper and pagination - by El Forum - 04-20-2013, 03:56 AM
Datamapper and pagination - by El Forum - 04-20-2013, 10:16 AM
Datamapper and pagination - by El Forum - 04-22-2013, 06:14 AM
Datamapper and pagination - by El Forum - 04-22-2013, 08:35 AM
Datamapper and pagination - by El Forum - 04-24-2013, 11:58 AM
Datamapper and pagination - by El Forum - 04-24-2013, 01:58 PM
Datamapper and pagination - by El Forum - 04-24-2013, 08:40 PM
Datamapper and pagination - by El Forum - 04-24-2013, 11:34 PM
Datamapper and pagination - by El Forum - 04-25-2013, 01:09 AM



Theme © iAndrew 2016 - Forum software by © MyBB