[Dbix-class] Re: Chained searches and pager usage
Nilson Santos Figueiredo Junior
acid06 at gmail.com
Wed Jan 24 17:13:08 GMT 2007
On 12/15/06, Nilson Santos Figueiredo Junior <acid06 at gmail.com> wrote:
> There's a currently known bug regarding paged resultsets when using
> nested searches, ie:
>
> $rs->search(
> { field => $value },
> { page => $page }
> )->search(
> { another_field => $another_value }
> );
>
> This will usually produce wrong results for any page except the first.
> Attached you'll find a patch against trunk for dbic's test suite which
> tests this situation (and currently fails) as requested.
Was this issue ever fixed?
At the time, I provided a test case patch but couldn't really provide
a fix for it. I've got a feeling no one really noticed it.
-Nilson Santos F. Jr.
More information about the Dbix-class
mailing list