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

--- Comment #28 from Tomás Cohen Arazi <tomasco...@gmail.com> ---
(In reply to Jonathan Druart from comment #27)
> +            if (    $biblio->active_orders->count - 1 == 0 # minus ourself
> 
> What about something like
>   $biblio->active_orders->search({ ordernumber => { '!=' =>
> $self->ordernumber })->count
> instead?
> That makes it more explicit I think.

I agree

-- 
You are receiving this mail because:
You are watching all bug changes.
_______________________________________________
Koha-bugs mailing list
Koha-bugs@lists.koha-community.org
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