Bug 28915

Summary: MARC Modification Templates should allow specification of a position or range within a control field
Product: Koha Reporter: Andrew Fuerste-Henry <andrew>
Component: ToolsAssignee: Bugs List <koha-bugs>
Status: NEW --- QA Contact: Testopia <testopia>
Severity: enhancement    
Priority: P5 - low CC: aspencatteam, barbara.johnson, bibliwho, caroline.cyr-la-rose, flyingendpaper, helm.consortium, jrobb, kati.sillgren, lauren_denny, marie-luce.laflamme, mathsabypro, mnero, mspinney, noemie.labine, patrick.robitaille
Version: Main   
Hardware: All   
OS: All   
Change sponsored?: --- Patch complexity: ---
Documentation contact: Documentation submission:
Text to go in the release notes:
Version(s) released in:
Circulation function:

Description Andrew Fuerste-Henry 2021-08-27 18:51:36 UTC
When dealing with the MARC Leader, 008, and other fixed length control fields, it would be nice to be able to make the modification templates look at, match on, and alter only a specific position or range. 

For example, suppose I have several records in which I want to change the 008 position 33 (Literary form) from a 0 to a 1 (nonfiction to fiction).
Currently I could tell my modification template to update the 008 of every record I point it at where the character in position 33 is a 0 (using regex to match only that specific character). But then there's no way to change ONLY that character and preserve the rest of the field.
Comment 1 AspenCat Team 2022-07-06 21:34:57 UTC
This would be useful.
Comment 2 NoƩmie Labine 2023-09-20 13:28:15 UTC
+1
Comment 3 Marie-Luce Laflamme 2024-03-27 15:41:53 UTC
This feature would be a huge plus!
Comment 4 helm.consortium 2024-09-13 11:20:53 UTC
This could be great for dealing with publication dates in the 008.
Comment 5 Jason Robb 2024-12-03 16:26:38 UTC
Agree, it would be nice to be able to copy a 264$c or 260$c to the proper position of the 008 using MARC modification templates.
Comment 6 Kati Sillgren 2024-12-04 06:28:36 UTC
This would be very useful.