[Koha-bugs] [Bug 15156] Get all Borrowers with pending/unpaid fines/accountlines

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Fri Sep 3 17:36:13 CEST 2021


https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=15156

--- Comment #31 from Martin Renvoize <martin.renvoize at ptfs-europe.com> ---
(In reply to Marcel de Rooy from comment #29)
> +    my $group_by =
> +      [ map { 'me.' . $_ } $self->_resultset->result_source->columns ];
> +
> +    my $attrs = {
> +        join     => 'accountlines',
> +        group_by => $group_by,
> 
> You probably dont want to group by on all patron columns, heh ?

Actually, that's required by strict mode SQL.. we're already doing it all over
the place.

-- 
You are receiving this mail because:
You are watching all bug changes.


More information about the Koha-bugs mailing list