https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=16965 --- Comment #4 from Marcel de Rooy <m.de.rooy@rijksmuseum.nl> --- (In reply to Jonathan Druart from comment #3)
(In reply to Marcel de Rooy from comment #2)
Shouldn't you wrap them like search does ?
I don't think so: "In list context, ->all() is called implicitly on the resultset, thus returning a list of result objects instead." https://metacpan.org/pod/DBIx::Class::ResultSet#search_related
I mean the other search: sub search { my ( $self, $params, $attributes ) = @_; if (wantarray) { my @dbic_rows = $self->_resultset()->search($params, $attributes); return $self->_wrap(@dbic_rows); etc. -- You are receiving this mail because: You are watching all bug changes.