On 12/15/06, Nilson Santos Figueiredo Junior <[EMAIL PROTECTED]> 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.

_______________________________________________
List: http://lists.rawmode.org/cgi-bin/mailman/listinfo/dbix-class
Wiki: http://dbix-class.shadowcatsystems.co.uk/
IRC: irc.perl.org#dbix-class
SVN: http://dev.catalyst.perl.org/repos/bast/trunk/DBIx-Class/
Searchable Archive: http://www.mail-archive.com/[email protected]/

Reply via email to