morgan/kohana-paginate — pull request #1 by eblount (2012-08-27 18:44:20+00:00)
Title: When searching, duplicate the search query into the _object_clone...

... so that the count returned is correct. Please note: I'm sure there are other ways to accomplish this. I chose this way so that a specific order of operations (force users to call _search() before _limit(), etc.) isn't required.