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

Janusz Kaczmarek <[email protected]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
 Attachment #163770|0                           |1
        is obsolete|                            |

--- Comment #16 from Janusz Kaczmarek <[email protected]> ---
Created attachment 164954
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=164954&action=edit
Bug 36018: biblio->active_orders should be ->uncancelled_orders

Active orders are more than just not cancelled. See filter_by_active
in Koha::Acquisition::Orders. They are still in the acq process; we
still need to receive items on those orders.

When we cancel and want to delete a biblio, we should check for not
cancelled orders (broader than active orders as in Orders.pm).

Test plan:
Git grep active_orders.
Run t/db_dependent/Koha/Biblio.t
Run t/db_dependent/Koha/Acquisition/Order.t
Add two order lines in a basket referring to same biblio. Try to
cancel with delete biblio. Should not be possible.

Signed-off-by: Marcel de Rooy <[email protected]>
Signed-off-by: Janusz Kaczmarek <[email protected]>

-- 
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