https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=28915
--- Comment #62 from Andrew Fuerste-Henry <[email protected]> --- Created attachment 198637 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=198637&action=edit Bug 28915: Add character position to MARC modification templates view To test new form events: 1. Navigate to Cataloging > MARC modification templates > + New template (and provide any name) 2. Click + New action 3. Add "008" after "field(s)" and click tabulator or your mouse anywhere on the screen 4. Observe the second (sub)field input field disappearing 5. From dropdown "Delete", select "Update existing or add new" 6. Observe new text "starting from character position" 7. Select any other action from the dropdown from step 5 8. Observe the text "starting from character position" disappearing (unless action is to update or add new field) 9. Observe subfield input field missing (unless action is to update or add new field) To test MARC modification with the new feature: 1. Add a new record 2. Modify record's 008 field character position 2-3 to "06" (indicating month June) 3. Navigate to Cataloging > MARC modification templates > + New template (name "Change June to September") 4. Click + New action 5. Add "008" after "field(s)" 6. From dropdown "Delete", select "Update existing or add new" 7. To the input field on the right of "starting from character position", enter value 2 8. To the input field on the right of "with value", enter 09 9. From the empty dropdown below, select "if" 10. To the input field on the right of "field", enter 008 11. From the dropdown on the right, select "matches" 12. Check "RegEx" 13. To the empty input field on the right, enter ^[0-9][0-9]06 14. Give any description you want (ex. Change 008 June to September) 15. Navigate to the record details you added in step 1 16. Click Edit > Modify record using template 17. Click "Show MARC" 18. Double check field 008 character position 2-3 is currently 06 19. Click "Close" 20. From dropdown "Select a template", select your new modification template from step 3 21. Click "Show MARC" 22. Observe field 008 character position 2-3 is now 09 23. Click "Modify selected records" 24. After job is completed, observe field 008 character positions 2-3 are now 09 Signed-off-by: David Nind <[email protected]> Signed-off-by: Andrew Fuerste Henry <[email protected]> Signed-off-by: Anneli Österman <[email protected]> Signed-off-by: Andrew Fuerste Henry <[email protected]> -- You are receiving this mail because: You are watching all bug changes. _______________________________________________ Koha-bugs mailing list [email protected] https://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/
