[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
Mon Sep 21 13:00:02 CEST 2020


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

--- Comment #17 from Emmi Takkinen <emmi.takkinen at outlook.com> ---
(In reply to Martin Renvoize from comment #16)
> Thanks Emmi; I hope I didn't come across too negative.. I'd happily pick up
> the bug if I had some time to do so.. I'll certainly keep and eye out on it
> and try to help with testing/qa as needed.

Not at all and thanks beforehand :)    

Some thoughts I had about this:

1. I'm not sure if owes is quite right. Owings seems more appropriate (or maybe
debts?). 
2. Maybe we could ditch whole search? Instead we could first search patrons
against wanted criteria and then do:

my $patrons = Koha::Patrons->filter_by_owings({ 'me.borrowernumber' => { '-in'
=> \@borrowernumbers }, amount => { '>=' => $max } });

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


More information about the Koha-bugs mailing list