Koha/koha-tmpl/intranet-tmpl/prog/en
Mathieu Saby 09953f836d Bug 7791: add 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 warning.
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 your browser)
3. click on "Delete basket"
4. choose button "Delete basket and orders"
5. check the catalogue : records A,B,C,D should 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 your browser)
3. click on "Delete basket"
4. choose button "Delete basket, orders and records"
5. check the catalogue : records B,C,D should still be there. Record A
   should be deleted

Signed-off-by: Cedric Vita <cedric.vita@dracenie.com>
Signed-off-by: Chris Cormack <chris@bigballofwax.co.nz>
Signed-off-by: Marcel de Rooy <m.de.rooy@rijksmuseum.nl>
Signed-off-by: Galen Charlton <gmc@esilibrary.com>
2013-12-02 16:05:33 +00:00
..
css Bug 11146: Show a go back link on no permission page 2013-11-23 19:43:37 +00:00
data Bug 10592: fix MARC21 006/008 cataloging plugins 2013-07-22 14:00:23 +00:00
includes Bug 7484: keep selected values when changing search type on authority search form 2013-11-27 18:30:35 +00:00
js Bug 11205: fix DataTables filter issue when more than one table is on a page 2013-11-09 16:28:52 +00:00
lib Bug 9034: Add sorting and filtering on items table (catalogue/detail.pl) 2013-02-07 19:35:51 -05:00
modules Bug 7791: add ability to delete records when deleting a basket 2013-12-02 16:05:33 +00:00
xslt Bug 10911: fix invalid links when displaying records that have 880 fields 2013-09-23 17:12:13 +00:00
columns.def Bug 7684: multiple fixes for inventory 2013-11-01 00:10:49 +00:00