]> git.koha-community.org Git - koha.git/commit
Bug 26992: Fix serial issue and related items deletion on serial collection page
authorFrédéric Demians <f.demians@tamil.fr>
Tue, 10 Nov 2020 16:00:09 +0000 (17:00 +0100)
committerAndrew Fuerste-Henry <andrew@bywatersolutions.com>
Wed, 9 Dec 2020 21:30:40 +0000 (21:30 +0000)
commit9ab7d03769e3923991b8347daf9937099480d452
tree56c6daf5677a4484fa6802054abe87f255492a62
parent7013f7188968f86179bd498abc94ff58bdba1613
Bug 26992: Fix serial issue and related items deletion on serial collection page

serial-collection.pl uses C4::Items::DelItemCheck() function which is obsolete.

Test plan:

1. Create a subscription with items created when receiving.
2. Receive several issues, and create corresponding items.
3. On Serial collection page (serial-collection.pl), select several issues.
4. Click on button Delete selected issues
5. A confirmation page is displayed. Enable "Delete associated items?".
   Then click on "Yes, delete" button.

   You get this error: Undefined subroutine &C4::Items::DelItemCheck

6. Apply the patch an repeat steps 3-5.
   Check that issues and related items are deleted.

Signed-off-by: David Nind <david@davidnind.com>
Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
(cherry picked from commit dff16710ae53ebfab8596f27b35a7c8e35f81edf)

Signed-off-by: Andrew Fuerste-Henry <andrew@bywatersolutions.com>
serials/serials-collection.pl