[Koha-bugs] [Bug 18179] Koha::Objects->find should not be called in list context

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Thu May 4 16:06:43 CEST 2017


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

--- Comment #32 from Jonathan Druart <jonathan.druart at bugs.koha-community.org> ---
Created attachment 63109
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=63109&action=edit
Bug 18179: Use borrower.category_type in patron-title.inc

I found 3 occurrences where borrower is passed to the template:
members/pay.pl:        borrower => $borrower,
members/paycollect.pl:    borrower      => $borrower,
members/routing-lists.pl:    borrower          => $borrower,

$borrower comes from GetMember.

And from 1 members/moremember.pl (Koha::Patron)
So the change does not make sense.
But it's a regression of bug 12461, should be fixed elsewhere.

Signed-off-by: Jonathan Druart <jonathan.druart at bugs.koha-community.org>

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


More information about the Koha-bugs mailing list