Bug 21860 - MARC modification templates cannot check or change indicators
Summary: MARC modification templates cannot check or change indicators
Status: ASSIGNED
Alias: None
Product: Koha
Classification: Unclassified
Component: Tools (show other bugs)
Version: Main
Hardware: All All
: P3 enhancement with 70 votes (vote)
Assignee: Hayley Pelham
QA Contact: Testopia
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2018-11-19 11:24 UTC by paxed
Modified: 2024-04-15 10:41 UTC (History)
22 users (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description paxed 2018-11-19 11:24:05 UTC
The marc modification templates have no way of checking or changing indicator values. This seems like a pretty big oversight.
Comment 1 Kelly McElligott 2019-03-13 13:12:39 UTC
As an enhancement to Koha's Marc Modification Template, it would be extremely helpful to include indicators as part of this process.  A lot of libraries would like an easy way to remove their 7 indicators in 650 tags.
Comment 2 Andrew Fuerste-Henry 2020-09-14 16:36:29 UTC
+1, would love to see this
Comment 3 Barbara Johnson 2020-10-10 14:07:41 UTC
This would be such a great time saver.  Currently we have to create a report to capture the correct bibs, export them, update and import them back in.  It would be great to be able to do it in Koha instead.
Comment 4 Marjorie Barry-Vila 2020-10-29 17:34:28 UTC
+1
Comment 5 Amber Bales 2021-01-13 00:33:37 UTC
This is an oversight I'd like to see change. Indicators are a part of the MARC field afterall.
Comment 6 Michal Denar 2021-10-25 11:33:55 UTC
+1
Comment 7 Heather 2021-10-25 14:52:34 UTC
This would be SO helpful!!  There hasn't yet been one instance that I've been able to try using the MARC modification templates because every way they'd be helpful for us involves essential information from the indicators, changes to the indicators, etc.
Comment 8 Martin Renvoize 2021-11-01 10:20:54 UTC
Are you working on this one Hayley?  Would be lovely to see some code.
Comment 9 Hayley Pelham 2021-11-01 20:32:03 UTC
Hi Martin,

I am in the process of trying to get client sign off on some work that'd been done in this area.

Anyone feel free to pick it up in the meantime if you have some time!

Cheers,
Hayley
Comment 10 AspenCat Team 2022-06-25 20:41:18 UTC
If the field we are adding has indicators that are significant, this would enable user to do this action in Koha.  Without it, I would need to use MarcEdit to change the indicators, so I might as well use it to add the field at the same time.  If we can do this in Koha rather than outside of Koha, it would vastly streamline the process and allow users without MarcEdit experience to change bibs by simply selecting the correct Marc Modification Template.

Another alternative would be if one could add a run a macro as an action in the marc modification template, since we can change indicators using a macro.
Comment 11 Laura Horgan 2022-09-13 14:42:17 UTC
There are several type of subject headings that we would like to automatically exclude when importing a record from OCLC for instance.  We have no need for the 650 5 Canadian 650 6 	Répertoire de vedettes-matière, etc.  In the 650 7 if we could limit only certain +2 that would be good as well sears and bisacsh headings.  Just one man's opinion
Comment 12 Heather 2022-09-13 20:16:54 UTC
Exactly, Laura!  We would love to be able to do that, but can't with the templates unable to act based on indicator data.
Comment 13 AspenCat Team 2023-01-10 00:12:53 UTC
Is this a particularly difficult enhancement? It would be super helpful. Bug initially created in 2018. Does it need to be a paid-for development?
Comment 14 paxed 2023-02-07 09:29:03 UTC
(In reply to AspenCat Team from comment #13)
> Is this a particularly difficult enhancement? It would be super helpful. Bug
> initially created in 2018. Does it need to be a paid-for development?

It wouldn't be that hard... except the simplest change would not be accepted, as all new stuff must use Koha Objects. So, you'd have to convert C4/MarcModificationTemplates.pm to Koha/MarcModificationTemplate.pm, Koha/MarcModificationTemplates.pm, Koha/MarcModificationTemplateAction.pm, Koha/MarcModificationTemplateActions.pm (or something along those lines), change all the scripts that use the marc modification templates to use those new objects, rewrite tests, ...

Too much of a hassle.
Comment 15 Martin Renvoize 2023-02-07 11:36:15 UTC
Offers of sponsorship always help a bug move forward, else a developer is either trying to justify time working on a bug to their boss for no obvious financial reward or working on the bug in their spare time.

As for paxed comment regarding difficulty and C4 vs Koha.. I would say this is an area where you could happily continue in C4 space. It's not a hard requirement to rewrite the whole of Koha to refine an existing feature.. QA would push for Unit tests however, even for a C4 change.. but that's just standard good practice.