Bug 28915 - MARC Modification Templates should allow specification of a position or range within a control field
Summary: MARC Modification Templates should allow specification of a position or range...
Status: NEW
Alias: None
Product: Koha
Classification: Unclassified
Component: Tools (show other bugs)
Version: Main
Hardware: All All
: P5 - low enhancement
Assignee: Bugs List
QA Contact: Testopia
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2021-08-27 18:51 UTC by Andrew Fuerste-Henry
Modified: 2024-11-06 17:21 UTC (History)
13 users (show)

See Also:
Change sponsored?: ---
Patch complexity: ---
Documentation contact:
Documentation submission:
Text to go in the release notes:
Version(s) released in:
Circulation function:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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.