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

--- Comment #2 from Roman Dolny <[email protected]> ---
Created attachment 203859
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=203859&action=edit
Bug 42633: Preserve the framework when linking to a host item

Koha was passing an empty framework code to ModBiblio and ModBiblio
normalized an empty framework code to the default framework.

This patch passes the current framework code of the record when saving the
modified MARC record, preserving the existing framework when linking or
delinking host items.

Steps to reproduce:
1. Enable EasyAnalyticalRecords.
2. Find or create a bibliographic record with a not default framework.
3. Find or create another bibliographic record with an item and barcode.
4. Do the Edit > Link to host item and link it to the item with a barcode you
picked in step 3.
5. Confirm the host link was added.
6. Check the framework of the record and see that was changed to empty/default.
7. Apply the patch.
8. Repeat this test and check that framework of the record stays the same.

Signed-off-by: Roman Dolny <[email protected]>

-- 
You are receiving this mail because:
You are the assignee for the bug.
You are watching all bug changes.
_______________________________________________
Koha-bugs mailing list -- [email protected]
To unsubscribe send an email to [email protected]
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/

Reply via email to