Thanks for advice, not always too keen to offload total problems for
> free code input, but in this instance after lots of hours spent ...
>

Quickest way to get the problem fixed.

I haven't got time to test the following just now, but my guess is that it
is how you are assigning the result:

-       $c->stash(result => $result);   # put data into stash

try changing that to:

+       $c->stash->{result} = $result;   # put data into stash

Could be wrong, but I think the former is causing the resultset to be
evaluated as an array and is therefore returning all the entries before the
pager is being applied.

Cheers,

Ian
_______________________________________________
List: Catalyst@lists.scsys.co.uk
Listinfo: http://lists.scsys.co.uk/cgi-bin/mailman/listinfo/catalyst
Searchable archive: http://www.mail-archive.com/catalyst@lists.scsys.co.uk/
Dev site: http://dev.catalyst.perl.org/

Reply via email to