[Koha-bugs] [Bug 17202] Deleting a rotating collection with items should either be prohibited or items should be removed

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Tue Apr 27 14:53:57 CEST 2021


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

--- Comment #12 from Nick Clemens <nick at bywatersolutions.com> ---
Created attachment 120217
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=120217&action=edit
Bug 17202: Don't report an item in a collection if the collection doesn't exist

This simply adds a JOIN to the collections table - if the collection is gone
then the item is not considered to be in a rotating collection

Also remove variable to store the return that is not used later

To test:
Create a rotating collection
Add an item
Delete the rotating collection
View the db (SELECT * FROM collections_tracking;)
The item is still in the collection
Enable AutomaticItemReturn
Checkin the item at a branch not its home
The item does not get transferred home
Apply patch
Restart all the things
Check in the item, it is transferred home

Signed-off-by: Owen Leonard <oleonard at myacpl.org>

Signed-off-by: Kyle M Hall <kyle at bywatersolutions.com>

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


More information about the Koha-bugs mailing list