http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=7593
mathieu saby <[email protected]> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #16322|0 |1 is obsolete| | Attachment #17162|0 |1 is obsolete| | --- Comment #28 from mathieu saby <[email protected]> --- Created attachment 17657 --> http://bugs.koha-community.org/bugzilla3/attachment.cgi?id=17657&action=edit [PATCH][rewritten] Bug 7593: Move orders on the destination record when merging 2 records I merged previous patchs, took some parts of BZ 9780, and change the test plan... So this patch need to be Signed off again. Revised patch according to QA comments. No more dependent from bz 9780. At present, merging records breaks the link order/record, except if an item of the deleted record is used in the order. This is a serious issue for libraries creating items on receipt. This patch moves existing orders from deleted record to destination record. It creates a new function Acquisitions::GetOrdersByBiblionumber, that could be used by other patches later. To test : Check the problem : 1. Set syspref AcqCreateItem = Create an item when receiving an order 1. Create a basket with one order 2. Put the record used by this order in a list 3. Put an other record in the list 4. Merge the 2 records, keeping as a reference the record NOT used in the order 5. In the order, you will see for that order "Deleted bibliographic information..." 6. Apply the patch 7. Repeat steps 1-4 8. In the order, you will see the title/author of the kept record. 9. Set syspref AcqCreateItem = Create an item when placing an order 10. Repeat steps 1-4 (an item will be created) 11. In the oreder, you will see the title/author of the kept record (it is already the case at present. the patch should not alter this behavior) M. Saby -- You are receiving this mail because: You are watching all bug changes. _______________________________________________ Koha-bugs mailing list [email protected] http://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/
