https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=19361
Caroline Cyr La Rose <caroline.cyr-la-r...@inlibro.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #67385|0 |1 is obsolete| | --- Comment #7 from Caroline Cyr La Rose <caroline.cyr-la-r...@inlibro.com> --- Created attachment 67657 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=67657&action=edit Bug 19361 - Display the value of a MARC field in dropdown box after it is linked to an authorised value This patch displays the previously entered input of a MARC subfield (inputted before an authorised value was linked to the MARC field) in the new authorised value dropdown so that it can be resubmitted and not lost from the database. Test plan: 1. Create a record and write a value into the Edition 942$e MARC field and submit form 2. Create a new authorised value category and link it to the same Edition MARC subfield 3. Load the MARC record again and notice that the Edition field is now an empty dropdown box. Also for future reference in this test note the values in the 942$2 and 942$c dropdown boxes 4. Query the biblio_metadata table with the biblionumber of the record that you created in step 1 and notice that the value you entered in step 1 into the Edition (<subfield_code="e") still exists 5. Submit the form 6. Repeat step 4 and notice that <subfield_code="e" line no longer exists as the existing data for the edition MARC subfield has been lost by linking a new authorised value category to the edition subfield 7. Apply patch 8. Repeat steps 1 but this time write a value into the Classification part MARC subfield 9. Repeat step 2 but link the new authorised value category to the Classification part MARC subfield 10. Repeat step 3 and notice that the value you wrote into the Classification part subfield is displayed in the dropdown box (selected by default), along with a message in brackets informing you that this value is not an authorised value 11. Note that the other dropdown boxes 942$2 and 942$c both display the same values as in step 3 12. Submit the form 13. Query the biblio_metadata table and notice that the <subfield_code="h" line still exists with the value you entered and that was shown in the dropdown box As this is quite a complex test plan, I have done my best to keep it as simple as possible, however if you are confused please let me know and I am more than happy to clarify Sponsored-By: Catalyst IT Signed-off-by: Caroline Cyr La Rose <caroline.cyr-la-r...@inlibro.com> -- You are receiving this mail because: You are the assignee for the bug. You are watching all bug changes. _______________________________________________ Koha-bugs mailing list Koha-bugs@lists.koha-community.org 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/