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.
-Nilson Santos F. Jr.
chained-search-paging.diff
Description: Binary data
_______________________________________________ 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]/
