Paul Makepeace wrote:
This used to work, perhaps by accident of usage,package IDL::ResultSet::SiteTestimonial; use base 'DBIx::Class::ResultSet'; sub all { my $self = shift; return $self->search( { visible => 'Y' }, { order_by => 'sort desc' }); } but now seeing a q[Deep recursion on subroutine "DBIx::Class::ResultSet::search"] error. What's the BP way of doing this?
This looks like a bug to me, could you investigate more? (maybe a step- through with a debugger would help). Thanks! _______________________________________________ List: http://lists.scsys.co.uk/cgi-bin/mailman/listinfo/dbix-class IRC: irc.perl.org#dbix-class SVN: http://dev.catalyst.perl.org/repos/bast/DBIx-Class/ Searchable Archive: http://www.grokbase.com/group/[email protected]
