[Koha-bugs] [Bug 7791] Deleting basket should not delete all existing orders without warning
bugzilla-daemon at bugs.koha-community.org
bugzilla-daemon at bugs.koha-community.org
Sun Oct 20 20:26:44 CEST 2013
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=7791
Chris Cormack <chris at bigballofwax.co.nz> changed:
What |Removed |Added
----------------------------------------------------------------------------
Attachment #21245|0 |1
is obsolete| |
--- Comment #32 from Chris Cormack <chris at bigballofwax.co.nz> ---
Created attachment 22091
-->
http://bugs.koha-community.org/bugzilla3/attachment.cgi?id=22091&action=edit
Bug 7791 : Give the ability to delete records when deleting a basket
Currently, when a basket is deleted, all the orders are deleted (there is a
foreign key in aqorders table on basketno).
This could be dangerous, and there is no warn.
After the deletion, unused biblios are left in the catalogue.
This patch
- adds a more detailed message describing the consequences of deletion
- give the choice of also deleting biblio records if possible
To test :
Test A :
1. create a basket with 4 orders:
- an order from a new record A
- an order from a record B which has already an item
- an order from a record C used in a subscription
- an order from a record D used in an other order
2. note the biblionumbers of the records used (or open them in other tabs in
yout browser)
3. click on "Delete basket"
4. choose button "Delete basket and orders"
5. check the catalogue : records A,B,C,D must still be there
Test B:
1. create a basket with 4 orders:
- an order from a new record A
- an order from a record B which has already an item
- an order from a record C used in a subscription
- an order from a record D used in an other order
2. note the biblionumbers of the records used (or open them in other tabs in
yout browser)
3. click on "Delete basket"
4. choose button "Delete basket, orders and records"
5. check the catalogue : records B,C,D must still be there. Record A must be
deleted
Signed-off-by: Cedric Vita <cedric.vita at dracenie.com>
Signed-off-by: Chris Cormack <chris at bigballofwax.co.nz>
--
You are receiving this mail because:
You are watching all bug changes.
More information about the Koha-bugs
mailing list