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

--- Comment #19 from Tomás Cohen Arazi <[email protected]> ---
I get it, but consistency will always be a good thing!

Right now we need:

$template->param(
    outstanding_debits => scalar $patron->account->outstanding_debits,
    items              => $biblio->items,
);

Because we are not consistent (i.e. outstanding_debits does a return
$smth->search)

I'd prefer

$template->param(
    outstanding_debits => scalar $patron->account->outstanding_debits,
    items              => scalar $biblio->items,
);

The motivation for this bug was to find consensus on a predictable way of
coding to lower amount of bugs.

-- 
You are receiving this mail because:
You are watching all bug changes.
_______________________________________________
Koha-bugs mailing list
[email protected]
https://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/

Reply via email to