[Koha-bugs] [Bug 26515] Add Koha::Acquisition::Order->cancel

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Thu Oct 8 12:20:22 CEST 2020


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

--- Comment #27 from Jonathan Druart <jonathan.druart at bugs.koha-community.org> ---
+            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.

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


More information about the Koha-bugs mailing list