[Koha-bugs] [Bug 28883] Koha::Objects->_new_from_dbic doesn't work correctly in list context
bugzilla-daemon at bugs.koha-community.org
bugzilla-daemon at bugs.koha-community.org
Fri Aug 27 15:25:27 CEST 2021
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=28883
--- Comment #21 from Jonathan Druart <jonathan.druart+koha at gmail.com> ---
(In reply to Tomás Cohen Arazi from comment #19)
> $template->param(
> outstanding_debits => scalar $patron->account->outstanding_debits,
> items => scalar $biblio->items,
> );
I'd personally prefer to not have to forget the "scalar" (and almost always use
iterator) and explicitly ask for the list when I need it (->as_list).
Not blocking, just expressing my opinion :)
--
You are receiving this mail because:
You are watching all bug changes.
More information about the Koha-bugs
mailing list